When you create a custom activity from scratch or by converting a built-in activity, the created custom activity in the Custom group of the activities list in the workflow designer. If you want to copy the created activity, hover over the activity in the left pane of the workflow designer, and click Copy.
Note, that this functionality is available only after you turn on the extensibility features.
To turn extensibility features on
-
Open the Administration Site and click the General Settings tab.
-
On the General Settings page, select the Extensibility tab.
-
On the Extensibility settings page, click the upper Turn on button.
To create a custom activity from scratch
-
On the Administration Site, open the workflow designer, expand the Custom group in the left pane, and click Add new custom activity.
-
On the User Interface Designer tab, enter the main instruction for the activity in the default language. You can translate the main instruction text into other languages by clicking the Add new language link. This text will be displayed on the page of the Self-Service or Helpdesk Site page when the activity is executed. Any user interface elements that you add will be displayed below the main instruction.
-
To add user interface elements, click Add new element in the User interface elements section.
-
In the Add New Element dialog, select the user interface element you want to add and enter the element’s ID and label. Select the following options if required:
-
Click OK:
-
Disable the element on the user interface: Select this check box if you want to make this element disabled on the Self-Service or Helpdesk Site.
-
Hide the element on the user interface: Select this check box if you want to hide this element from the Self-Service or Helpdesk Site.
-
-
On the Activity Name tab, specify the following options:
-
Activity short name: The activity name that should be used in PowerShell scripts to refer to the activity.
-
Activity display name: The activity name displayed in the activities list and workflow designer.
-
Activity description : Your description of the custom activity.
-
-
On the PowerShell Script tab, enter the PowerShell script to set the activity behavior. For more information on how to create and use activity scripts, refer to the Password Manager SDK.
-
Click OK.
Any built-in activity (Self-Service or Helpdesk) can be converted to a custom one by clicking the Convert to custom activity link on a built-in activity in the activities list or the workflow designer. If you want to copy the created activity, hover over the activity in the left pane of the workflow designer, and click Copy.
To convert a built-in activity to a custom activity
-
On the Administration Site, open the workflow designer, select the built-in activity you want to convert, and click the Convert to custom activity link on the activity.
-
Hover over the created activity and click the Shared settings link.
-
On the Activity Name tab, specify the following options:
-
Activity short name. The activity name that should be used in PowerShell scripts to refer to the activity.
-
Activity display name. The activity name displayed in the activities list and workflow designer
- Activity description. Your description of the custom activity.
-
-
On the PowerShell Script tab, enter the PowerShell script to set the activity behavior. For more information on how to create and use activity scripts, refer to the Password Manager SDK.
-
Click OK.