...
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Configure Workflow Parameters
...
Select the Service Task and navigate to the Properties Panel → Input/Output tab. Configure the Input and Output parameters for the operations.
In the Input Parameter section, add the input parameters required to execute the task on the target system.
Click on + to add to create a new Input Parameter.
Add Parameter name.
Select Text Data type.
Select Required if the attribute is required for the operation.
Add Required Field Validation Message.
Add Validations as required.
Next, add Mapping to define the way the parameter should accept the value. The parameter can accept value from the user’s input, existing parameters from earlier steps, or from the Workflow.
Define the Direct Mapping to represent the Mapping type. You may use:
Step Output Parameter to use output parameter from the previous steps.
Step Meta Parameter to use metadata parameters from another Service Task in the Workflow as input.
Workflow Input Parameter to accept information from user’s input. You may use the User-defined or System Defined attributes created as the Workflow Input parameters (created in Point 3).
Workflow Variable to use the system-defined or user-defined Workflow Variables such as workflow ID, Tenant ID.
Set Constant Value to assign a default constant value to the parameter.
Constant Transform Function to use a transformation function to assign a value to the parameter. You can use the out-of-the-box Random UUID function to generate a random universally unique identifier.
Expression is used when you want to apply a Mathematical operation or method to process an expression.
For a Required field, add Default Value.
You can also use a Transformation function to update the value before using the same in the workflow. Select Apply Transformation and pick the required out-of-the-box Transform Function.
Follow the above steps to add as many input parameters as required.
In the Response Output Parameters section, create the parameters or attributes to hold information received as a response for the target system.
Click on + to add to create a new Output Parameter.
Add a Parameter name.
Select Text asData type.
Add a Default value if required.
Select Extractor type to represent the type of expression to extract information. For example, select JSON web service response is a JSON path.
Add Expression to represent the response path of the value to be assigned to the attribute.
Configure Operation
...