When you define an individual function as an action, instead of coding it directly into a scriptable task workflow element, you can expose it in the library for other workflows to use.
Procedure
1 | From the drop-down menu in the Orchestrator client, select Design. |
2 | Click the Actions view. |
3 | Expand the root of the actions hierarchical list and navigate to the module in which you want to create the action. |
4 | Right-click the module and select Add action. |
5 | Type a name for the action in the text box and click OK.
Your custom action is added to the library of actions.
|
6 | Right-click the action and select Edit. |
7 | Click the Scripting tab. |
8 | To change the default return type, click the void link. |
9 | Add the action input parameters by clicking the arrow icon. |
10 | Write the action script. |
11 | Set the action permissions. |
12 | Click Save and close. |
You created a custom action and added the action input parameters.
What to do next
You can use the new custom action in a workflow.