Skip to main content

Case

Case

FUNCTIONDESCRIPTIONSYNTAX
assignWorkItemThis 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)
assignWorkItemByIdThis function lets change the assignee for a given activity (using the task id).Me.Case.assignWorkItemById(int iWorkItemId, int iNewUserId, bool bReplace)
CaseNumberThis function returns the customized case number for the current case.Me.Case.CaseNumber
CreationDateThis function returns the creation date for the current case.Me.Case.CreationDate
getWorkItemReturns 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)
IdThere are some functions that require the current case identifier. This function returns it.Me.Case.Id
ParentProcessCaseNumberReturns the case number of the parent process. If there is no parent process it will return nothing.Me.Case.ParentProcessCaseNumber
ParentProcessIdThis function returns the identifier of the parent process of the current case.Me.Case.ParentProcessId
ProcessStateReturns the state for the process of the current process case, it could be: Canceled, Completed, Initiated, Running.Me.Case.ProcessState
SolutionDateReturns or sets the actual solution date for the current process case.Me.Case.SolutionDate