Me.Case
Classes
Case
This function returns the properties of the current case.
Bizagi provides several functions that allow you to find and manipulate information about the current case. Most of this group of functions start with the sentence:
Me.Case
This group of functions are available in Current case information category.
The information available about the current case:
Property | Description |
---|---|
CaseId | Returns the id of the current process case. |
CaseNumber | Returns the case number of the current process case. |
Creationdate | Returns the creation date of the current process case. |
ParentProcessId | Retrieves the parent identifier of a child process. |
CHelper.getParentProcessId | Retrieves the parent identifier of a child process, without the need of context. |
ParentTaskId | Returns the parent process idTask for the current process case. |
ProcessState | Returns the state for the process of the current process case, it could be: Aborted, Completed, Initiated, NotInitiated, Running, and Suspended. |
SolutionDate | Returns or sets the actual solution date for the current process case. |
CHelper.getSubProcessesId | Returns a collection with all Sub-Processes for the current process case instance |
getWorkItem() | Returns the Workitem related to a given task id |
CHelper.SiblingProcessId | Returns a collection with the Sub-Process' sibling cases |
CHelper.thereAreOpenProcesses | Evaluates if cases are open for a specific case creation number |
assignWorkItem | Assign a specific task (identified by the task's unique name) to a specific user |
Creator
This function returns the case creator.
Syntax
Me.Case.Creator
Organization
Returns the organization of the current case.
Syntax
Me.Case.Organization
ProcessDefinition
Returns the metadata of the current case.
Syntax
Me.Case.ProcessDefinition
WorkingCredential
This funtion returns the current user's credentials for the case.
Syntax
Me.Case.WorkingCredential
Bizagi provides several functions that allow you to find and manipulate information about the current user.
The user information can be retrieved depending on whether there is context or not (if there is an ongoing case or the expression is used outside of a case):
- Use Me.WorkingCredential, when it is requited to use the information of the current user allocated to the current task in Process forms or expressions (i.e., with context).
- Use Credential, when it is required to use the information of the current logged in user in Query, Summary or global forms (i.e., without context).
This group of functions are available in Current user information category.
The information available about the current user is:
Property | Description |
---|---|
AreaName | Returns the user's area name |
FullName | Returns the user's full name |
IsInPosition | Returns True if the user has a specified Position, False otherwise. |
IsInRole | Returns True if the user has a specified Role, False otherwise |
IsInSkill | Returns True if the user has a specified Skill, False otherwise. |
IsInStakeholder | Returns True if the user has a specified Stakeholder, False otherwise. |
UserId | Returns the user's id |
UserProperties | Returns the value of a specified user property |