Configuring a Workflow Step to Execute a Custom Action

App Portal 2021 R1

You can have a workflow step execute a custom action. Custom actions are defined under Site Management > Commands and Actions. You can use a custom action to execute an executable, script, web service, etc.

Commands allow arbitrary commands to be executed against a selected machine from the support tools section in the software store or as part of a request at one or more stages during the request life cycle. Client Commands and Server Commands that are executed run under the context of the visiting user and are invoked using JavaScript. Server commands run under the context of the App Portal account specified during setup. Use of commands executed from the client requires modification of Internet Explorer security settings to allow Active X content.

Commands and actions are defined on the three subviews of Site Management > Commands and Actions:

Script Commands
Web Service Commands
Request Commands

To configure a workflow step to execute a custom action, perform the following steps:

To configure a workflow step to execute a custom action:

1. Create a script, web service, or request command, as described in the following three topics:
Script Commands
Web Service Commands
Request Commands
2. Open the Site Management > Workflows view and double-click a workflow to open the Workflow Properties dialog box.
3. Open the Workflow Steps tab.
4. Either click Add New Level to create a new workflow step or double-click on an existing workflow step. The Workflow Step Properties dialog box opens.
5. Open the External Actions tab.

6. From the Select a service and Select a method or command lists, select the appropriate service and command.
7. Click Save.

See Also