Service Library Object

This section describes the purpose of the Service Library object and its properties. Below you will find a general overview, followed by a detailed description of Service Library Properties as they appear in the various Service Library categories (tabs).

 

The Service Library object is used to create your own Jobs Library Job steps from various sources. Sources supported include REST services, WSDL based Web Services, .NET Assemblies, and SQL Server and Oracle stored procedures and functions. The advantage of this approach is that you can reuse logic or code in its original implementation and derive all the benefits of these methods or APIs as Job steps. You simply drag and drop your methods into your workflow as Job steps, the same way you would drag and drop steps that are built-in to the Jobs Library.

 

Service library objects are associated at the root of the Job Scheduler, and on Jobs and Plans. To associate the Service Library to a Job, access the Job’s Associations property sheet, click on Associate, navigate to, then select the Service Library you wish to use. To associate the Service Library object to the Scheduler root or a Plan, access the desired object's Service Libraries property sheet, click on Associate, navigate to, then select the Service Library you wish to use. Alternatively, you can quickly associate the Service Library object to the desired Plan or Job by dragging the Service Library (in the Object Navigation pane) and dropping it on the target object. If you intend to associate the same Service Library objects between related Jobs and/or Plans you should consider making that association using the Object List object rather than just embedding the Service Library within multiple Jobs or Plans.

 

 

Note: There are two REST adapters in the Service Library object, the original adapter named REST Adapter, and a newer one named REST Adapter (V2).  REST Adapter (V2) is building on the original REST Adapter, offering many new features and an enhanced user interface. REST Adapter (V2) was introduced in ActiveBatch version 12 service pack 5. The original REST Adapter has not been modified, and existing Jobs will continue to work as before. REST Adapter has not been removed from the ActiveBatch product, but as a best practice, use REST Adapter (V2) when creating a new Service Library object.

 

To create a Service Library, right-click on the desired container (Scheduler root, existing Folder or Plan) in the Object Navigation Pane, select New, then select Service Library. When you’ve completed the Service Library settings, you must click the Save or the Save and Close button to save the Service Library. Click the X on the tab of the New Service Library if you wish to cancel the creation of the Service Library. When you save the Service Library, it will instantly appear in the Object Navigation pane (if auto refresh is enabled). To modify an existing Service Library, right-click on the Service Library in the Object Navigation pane, then select Properties.

 

Service Library Properties