Przejdź do głównej zawartości

CaseStatusId

This function returns id of the current case status or specified status.

CaseStatusId([statusName]);
  • statusName – (String) [Optional] Name of the status to get id

This function returns String. Returns id of the given status or an empty string if non set or found.

Example 1: Get the current status id of the current case and store it in ’currentStatusId’ variable.

currentStatusId = CaseStatusId();

Example 2: Find cases in the current procedure that are in „Accounting” status (function FindCase can search only by status id).

acc=FindCase("","CaseStatusId",CaseStatusId("Accounting"))