Case

<< Click to Display Table of Contents >>

Navigation:  Low-code Process Automation > Studio Cloud - Authoring environment > Bizagi Studio > Process wizard > Business Rules > Bizagi Functions > Me Functions >

Case

FUNCTION

DESCRIPTION

SYNTAX

assignWorkItem

This is an advanced function that allows including assignees in any EXISTING manual task, including intermediate events.

 

Parameter 1: Identifier of the Task to be set, found in the database.

 

Parameter 2: Identifier of the user to include.

 

Parameter 3: Boolean that defines if assignees are replaced (true) or appended (false)

Me.Case.assignWorkItem(taskName,iNewUserId,bReplace)

assignWorkItemById

This function lets change the assignee for a given activity (using the task id).

Me.Case.assignWorkItemById(int iWorkItemId, int iNewUserId, bool bReplace)

CaseNumber

This function returns the customized case number for the current case.

Me.Case.CaseNumber

CreationDate

This function returns the creation date for the current case.

Me.Case.CreationDate

getWorkItem

Returns a workitem (working activity) given a task name. If there are more than one, returns the first. If there are none returns null.

Me.Case.getWorkItem(taskName)

Id

There are some functions that require the current case identifier. This function returns it.

Me.Case.Id

ParentProcessCaseNumber

Returns the case number of the parent process. If there is no parent process it will return nothing.

Me.Case.ParentProcessCaseNumber

ParentProcessId

This function returns the identifier of the parent process of the current case.

Me.Case.ParentProcessId

ProcessState

Returns the state for the process of the current process case, it could be: Canceled, Completed, Initiated, Running)

Me.Case.ProcessState

SolutionDate

Returns or sets the actual solution date for the current process case.

Me.Case.SolutionDate


Last Updated 1/6/2022 11:34:30 AM