Adding parameters

With Parameter, you can bind a particular key (identifier) with a value. You can add custom key-value pairs for your project, which can be used inside any workflow of that project. It eliminates the need to enter a particular value over and over again.

About this task

For example, if you define a project parameter with Email as the key and someone@example.com as the value, you do not need to type the full email when configuring an action in the workflow. You can insert the project parameter as input when you click the name of the parameter.

Procedure

  1. To add a project parameter, go to the project in which you want to add a parameter, and click Configurations > Workflow > Parameter.
    Here, you can view the list of existing parameters that are defined for this project.
  2. To add a new parameter, click New Parameter.
    In the pop-up window that appears, enter the following details:
    • Name: Provide a suitable name for the project parameter.
    • Value: Provide a value for the project parameter.
    • Mark as mandatory: You can optionally mark the specified parameter as mandatory. For such parameters, when you run the workflow, webMethods Integration, checks if the value of the parameter is available. If the value is not available, the workflow execution is not completed successfully. Hence, if you mark any parameter as mandatory, it must have a value.
    • Set as Password Field: You can also mark the specified parameter as a password field to hide the value of the parameter.
  3. Click Create to add the newly created parameter in the project parameter list under the Parameters tab.
  4. You can also add project parameters from the Workflow Settings page as well. To do so, complete the following steps:
    • Open any workflow, click the Workflow Settings icon on the canvas, and select Parameters.
    • Click Add Parameter.
    • Provide the relevant inputs and select the options to mark the parameter as mandatory and set it as a password field, and then click Add.