Using the Siebel Create Objects activity

Use the Siebel Create Objects activity to work with either Siebel Business Objects, Business Components, or Siebel Integration Objects.

Before you begin

Ensure that you have:

About this task

Use this task to create either a Business Component hierarchy or an Integration Object on the Siebel server. The call to this activity is a synchronous call where the input data is sent to the activity for processing and the response is sent back to the orchestration.

Procedure

  1. In an active orchestration, open the Activities tab and expand the Siebel folder contents.
  2. Drag the Create Objects activity icon onto the orchestration. The Siebel create objects Checklist is displayed.
  3. In the Checklist, click Summary.
  4. Review the contents of the Activity Name field, and make the required changes.
  5. In the Checklist, click Pick Endpoint.
  6. Click Browse and use the Project Explorer dialog box to select the relevant Siebel endpoint.
  7. Optional: You can create the endpoint by clicking New and specifying the required connection details. Click OK to save and use the endpoint for this configuration.
    Note: For more information, see Creating or editing a Siebel endpoint.
  8. To make required changes to the selected endpoint configuration, click Edit to access the options in a separate window. Any changes you make globally affects all uses of the endpoint in active orchestrations.
  9. In the Checklist, click Configure.
  10. Enter the repository name in the Repository Name text box. Repository name is populated with a default value, which represents the Siebel Repository. Enter the repository name if it is not same as the default value. All the metadata needed for discovering the objects are retrieved from this repository.
  11. Select one of the following objects for integration.

    To work with Business Object/Business Component:

    1. Select the Object Type as Business Object / Business Component.
    2. Click Browse to display the list of Business Objects.
    3. Use the Business Object Filter to filter the business objects during selection.
    4. Optional: Click Refresh to update the current object list from the Siebel server.
    5. Select a Business Object from the business object list and click Next.
    6. The list of business components for the selected business object is displayed. Select a business component and click Finish to generate schemas for the map input and map output.
    7. If the selected business component is a child of a parent business component, then both the parent and the child business components are generated with a relation between them.
      Note: Each of the child object attributes created in the map input is processed by the activity as follows:
      • The key attributes are not set on the parent business component. Siebel generates the key attributes when a record is created. If the key attributes are set, Siebel returns an exception and sets the read-only fields populated with values.
      • If the child object is a business component of a Picklists, and you want to select an existing child instance, do not create a new child object. Instead, set the value on the parent. For example, if you select an existing Business Address under Account, set the PrimaryAddressId instead of creating a Business Address. However, to create a new child instance, you must populate the non-key attributes in the child business component so that the activity tries to create the corresponding child instance in the Siebel application.
      • If there are static Picklists, then the corresponding simple attribute in the object is required. If a value is not listed in the Picklist's list of values, the activity tries to populate the value. If the list is unbounded and Insert is enabled, the activity processing is successful. If the activity is unable to populate the value by itself, the operation fails.
      • The child record is created with multi-value links. If the create operation for the child record fails, the child record is rolled back. If the create operation for the parent record fails, all the child and the parent records are rolled back.
      • The connector attempts to select an existing child business component (for example, Association) based on the values of all the attributes in the corresponding input child object. If a matching child business component is found, it is associated with the parent. If a matching child business component is not found, a new child business component is created and associated with the parent business component.
      • If the child create operation fails, the child is rolled back. If the parent create operation fails, only the parent is rolled back. Because association components can also be individual components, as well as children of other components, a child, or parent cannot be rolled back once an associated child has been created.

    To work with Integration Object:

    1. For Siebel Integration Object, select the Object Type as Integration Object.
    2. Click Browse to display the list of integration objects.
    3. Use Integration Object Filter to filter the integration objects during selection.
    4. Optional: Click Refresh to update the current object list from the Siebel server.
    5. Select an integration object and click Finish to generate schemas for the map input and map output. During processing, the selected business service is executed and the output is sent back to the orchestration.
  12. In the Checklist, click Retry. Review the default settings and make the required changes. For more information, see Specifying Retry and Delivery Options for Siebel Activities.
  13. Select the Map Inputs in the Checklist. The XML Schemas generated from the selected object of the Create Objects activity are displayed as nodes under the request input parameter in the To Activity panel.
  14. Create a map between the orchestration variables and the input parameter of the activity.
    Note: Values must be provided at run time for any mandatory elements of the input structure. A value can be provided by specifying a default value for element or by linking the element with an input node. During run time if no value is provided for a mandatory element, the activity throws an exception, which is reported by the Web Management Console (WMC). If a value is not provided at run time for an optional input parameter, no exception is thrown during run time.
  15. Select the Map Outputs in the Checklist. The XML Schema generated to hold the response of the activity is displayed as nodes under the response output parameter in the From Activity panel.
  16. Create a map between the output parameters and orchestration variables.

Results

You have configured the Siebel Create Objects activity.



Feedback | Notices


Timestamp icon Last updated: Wednesday, 15 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/Siebel_create_outactivity.html