CaseStatusId

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

Syntax

CaseStatusId([statusName]);

Function arguments

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

Return value

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

Examples

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

currentStatusId = CaseStatusId();

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

acc=FindCases("","CaseStatusId",CaseStatusId("Accounting"))
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.