i

Please enable JavaScript to view this site.

Documentation 8.5

These functions retrieve information related to the form instance that is being used, to the process if it had one associated and from the connected user.

 

Descriptive Name

Description

Example

Current User Last Name

Returns the last name of the user that started the session.

currentUserLastName()

Current Activity Code

Returns the code of the activity in progress. It does not work in the first process activity because the case has not been created.

currentActivityCode()

Current Process Code

Returns the code of the process in progress. It does not work in the first process activity because the case has not been created.

processCode()

Current Activity Description

Returns the description of the activity in progress. It does not work in the first process activity because the case has not been created.

currentActivityDescription()

Current Process Description

Returns the description of the process in progress. It does not work in the first process activity because the case has not been created.

processDescription()

Email of the Executing Participant’s Organizational Unit

Returns the organizational unit email of the participant responsible for executing the activity in progress, if it is a role, it returns empty. It does not work in the first process activity.

userOrgUnitEmail()

Email of the User Administrator of the Executing Participant's Organizational Unit

Returns the administration user email of the organizational unit of the participant responsible for executing the current activity. It does not work in the first process activity.

orgUnitAdminEmail()

Email of the Role Coordinator Responsible for the Current Activity

Returns the email of the role coordinator user modeled as responsible for the activity in progress, only if the person responsible is a role, otherwise it returns empty. It does not work in the first process activity.

currentRoleCoordinatorEmail()

Executing Participant Email

Returns the email of the participant responsible for executing the current activity It does not work in the first process activity.

If the responsible participant is a role or an organizational unit, it returns the emails of all users belonging to the role or organizational unit.

currentUserEmail()

Current Activity Name

Returns the name of the activity in progress. It does not work in the first process activity because the case has not been created.

currentActivityName()

Name of the Current User's Organizational Unit

Returns the organizational unit name of the user who started the session.

currentUserOrgUnitName()

Current Process Name

Returns the name of the process in progress. It does not work in the first process activity.

processName()

Current User Name

Returns the name of the user that started the session.

currentUserName()

Case ID

 

Returns the case id without applying the case display mask. It does not work in the first process activity because the case has not been created.

caseNumber()

Executing Participant’s Organizational Unit

Returns the organizational unit code of the participant responsible for executing the current activity. If the participant responsible is a role, it returns empty. It does not work in the first process activity.

currentOrgUnitCode()

Code of the Current User's Organizational Unit

Returns the organizational unit code of the user that started the session.

currentUserOrgUnit()

Executing Participant

Returns the participant responsible for executing the current activity It does not work in the first process activity.

It can return a user, a role or a unit:

- Returns a user when the participant responsible for the activity is a user, or when it is a role and the user is assigned the activity.

- Returns a role only when the participant responsible is a role and the activity is generic, until one of the users is assigned the activity.

- Returns an organizational unit when the participant responsible for the activity is a unit.

executingUser()

Executing User of the Current Process Activity

Returns the user that executed the activity informed by parameter. It requires the code of an activity already executed. It does not work in the first process activity.

activityExecutingUser(activityNo)

Current User

Returns the user that started the session.

currentUser()

Current Process Version

Returns the version of the process in progress. It does not work in the first process activity.

processVersion()

Last Button Pressed

Returns the last button pressed.

lastButtonPressed()

 

Send us your comments
Share on X Share on Linkedin Send by Email Print