Call Method Activity

The Call Method activity allows you to use a call method from a service provider to access information in other areas of the application.

The outputs of the call method are available as variables to the rest of the workflow. For example, you can call a method in the production model to get the current status of a work request.

Input and Output Parameters

After selecting a call method from the Configure Method dialog box, configure the input and output parameters. You can bind workflow level variables to the inputs. Output parameters can be bound to local variables or output parameters of parent activities, and the values will be written to those variables when the method executes.

Enforce User Permissions

You can invoke a security check when service provider method calls are made within a workflow.When configuring a Call Method activity, go to the Security area to ensure that, at run time, the current user who has acquired the task step has permission to call the method.
Note: For this feature to function correctly, you must configure a subprocess in one of the following ways to ensure that a user acquires the task step. Then, to verify that the task step is acquired, check the Current User property on the subprocess to ensure it is not null.
  • Manual Start is set to True.
  • A Form activity is used before the method call.