Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Activities represent the action or logic for a specific process within a workflow and are comprised of properties and methods that perform the action of a workflow while maintaining the state of that workflow. Think of activities as reusable methods that we create once and use in different places.

  • Activities expose easy-to-use properties.

  • Properties can be inputs or outputs.

Type of Activities

  1. Form Activities

  2. Operation Activities

  3. Bubble Activities

  4. Confirm Activities

  5. System Code Activities

  6. System Parallel Activities

  7. System If Else Activities

Let's understand about the activities with an example. Here we have a workflow with an activity placed on it, Edit Multi Form.Look at the below image on the left side. and the image on the right side see the code written within that activity.

Info

The color of the Activity code shape is red.

Image Added

Image Added

On the first form (Select Options), I have got option for selecting the different accounts for the editing purpose like the AD account, SAP account, and so forth. Based on this selection, I can edit the account, so I have written all this logic in inside the Activity (Edit Account Multi Form). If you drill down, we determine the account type and perform these actions accordingly. If I hadn't written all this logic inside this activity, I would have had to include it in my workflow, which would have made it hard to read.

So, if in the future there comes a requirement to add one more system, I will open this activity and add the system here, and all the workflows using this Activity will gain the ability to edit that system.