Skip to main content





Human Activity

When designing the process flow of your process, you can add work to be carried out by the end-user. This behavior is implemented through the Human Activity process activity, which you can drag onto your canvas from the Process Flow Toolbox.

The Human Activity allows you to specify and assign a work to be carried out by the end-users in your application. Once the process flow execution reaches a Human Activity the end-user or end-users are informed (in their Taskbox) of the work that has to be carried out. Then, one of them executes the activity and signals that it has been done in the Taskbox, and the Human Activity execution finishes and the process flow execution continues to the next process activity in the flow path.

A Human Activity can have input parameters, output parameters and callback actions.

Assigning a Human Activity to the End-Users

If no configuration is done, the Human Activity is assigned to all end-users, that is, it is displayed in the Taskbox of each end-user until it is executed by one of them. However, to force the assignment of a Human Activity to a specific end-user, simply set the User property to the desired end-user. For advanced cases, you may set an expression that returns the user that handles the activity, using the expression editor.

End the Activity on Entity Events

If the execution of the human activity is to be automatically ended after an event occurs over an entity, the kind of event must be set in the Close On property with one of the following entity actions: Create<Entity> or Update<Entity>.

Once you select the kind of event in the On Close property, a list of entity attributes is displayed for you to set the condition to automatically end the human activity: a primary key for a specific record and/or reference attributes for a specific value on an attribute.

For example, if the human activity is designed for a user to carry on an interview but interviews can be canceled, then the Close On property must be set with the UpdateInterview entity action and the interview status attribute with the canceled code.

Adding Security

You may add security to your Human Activities to be sure that only authorized end-users can execute the activity, which is especially useful for critical or high responsibility activities. For this, simply check the roles allowed to execute the Human Activity.

Using Human Activity References

Service Studio provides you with mechanisms to access Human Activity process activities among eSpaces. You can expose your Human Activity process activities to other eSpaces or use Human Activity process activities defined in another eSpace.


Changing the Close On property to listen to events from another entity only has effect on Human Activity instances that are created after the change. All instances that were already executing will continue listening to events from the previous entity. Therefore, you should only make this change when there are no more Human Activity instances listening to the previous entity.


Name Description Mandatory Default value Observations
Name Identifies an element in the scope where it is defined, like a screen, action, or module. Yes
Description Text that documents the element. Useful for documentation purpose.
The maximum size of this property is 2000 characters.
Label Text displayed in the Taskbox and in the back-office when an instance of this Human Activity is executed. If not defined, the displayed text will be the Human Activity name.
Public Indicates whether this process activity can be used by other modules. Yes No This property is only available for process activities that were created in the current module. When a process activity is public its process must also be public.
User Defines the user that is going to complete the activity. Can be an expression.
Close On Entity action that automatically ends the Human Activity execution. The event that automatically closes (ends) the process activity execution:

Create <entity>: the Human Activity is closed when a record is created for the specified entity;

Update <entity>: the Human Activity is closed when a record is updated for the specified entity.
Destination Screen where the user will complete the Human Activity work after opening this activity in the Taskbox.
Original Name Name of the element as defined in the module which implements it (producer module). This property is read-only. Yes This property is only visible for referenced elements.
End-User Information
Detail Description of the Human Activity to be displayed to the user in the Taskbox. Can be an expression.
Instructions Instructions on how to complete the Human Activity work to be displayed to the user in the Taskbox.
Due Date Optional date to inform the end-user when is the due date of the activity. Can be an expression.
Allow Skip If set to True, the activity execution may be skipped. Yes No If skip is allowed an option to skip the task is displayed in the end-user's Taskbox.
Start Date Optional date that defines when the activity is scheduled to become available to be handled. Can be an expression.
Roles List of the Roles available in your module. Allows selection of the roles that have grants to carry out the Human Activity work. Registered

Runtime Properties

Name Description Read Only Type Observations
ClosedBy Identifier of the end-user that closed the process activity instance. Yes
ClosedInstant Date and time when the process activity instance was closed. Yes Date Time
Skipped True if the process activity instance ended because it was skipped. Yes Boolean
ActivityId Identifier of the process activity instance at runtime. Yes
  • Was this article helpful?