Using a Script to Access Parameters for a Workflow Process

The example in this topic accesses workflow parameters for a running Workflow Process.

To use a script to access parameters for a Workflow Process

  1. Define a business service that includes the required methods and parameters.

  2. Access the business service from the Workflow Process.

  3. In the business service step in the Workflow Process, pass the Workflow Process properties to the business service method arguments.

    For more information, see Passing a Process Property In and Out of a Workflow Process Step.

  4. Use the following script to use the values of the business service argument and assign them to profile attributes:

    TheApplication().SetProfileAttr("WFRunning", Inputs.GetProperty("Workflow Running");

    A profile attribute is a string that is visible to any object that exists in a user session. A separate session exists for each user. A user cannot access the strings that another user session contains.

  5. Use the profile attributes for more processing.

    Siebel CRM places the required information in the profile attributes. You can use the typical procedures to configure Siebel CRM to access these profile attributes. For more information, see Siebel Personalization Administration Guide.