...
To create a new activity, you need to complete several steps:
- Create a table блаблаблаstoring settings for the newly created activity;
- Create an activity type that will store parameters and bear the functionality of your newly created activity;Create an activity itself;
- Create activity exit types that will specify the exit condition from this activity.
...
In fact, every activity stores its settings in a table child for the Workflow Activity (wf_activity) table. Let's take the If activity as an example. to be continued
To create this table, please complete the steps below:
- Navigate to {your_instance_url}/list/wf_activity
- Enter the hamburger menu at the top left of the page;
- Enter the Configure menu and select the Table item;
- On the page opened, scroll down to the related list area and click on the Table tab;
- Click New, and fill in the fields and click Save. For more information about the table attributes, please refer to the Table attributesAttributes article.
Tip | ||||||
---|---|---|---|---|---|---|
When filling in the Name and Title field, it is recommended to keep them synchronized semantically, like this:
When naming your activity, please keep in mind the following naming rule: your activity system name should be added after the wf_activity constant. In the example above, it looks like 'wf_activity_run_script' |
...