Create copy of current case.


CopyAndAssignCase("AssignTo","StageName","Field name 1","Field name 2");

Function arguments

  • AssignTo – (String) User to whom case will be assigned
  • StageName – (String) Copied case will be created in this stage
  • excludedField – (String) [Optional] List of field names for which values are not copied

Return value

This function returns Decimal.
Returns the ID of new case, or 0 if there was an error while creating a copy of a case.


Example 1:
Create a copy of the current case in Start stage and assign it to user from AssignTo field. Value of the month field is not copied. Store created copy ID in 'newCase’ variable and use it in call to 'Set’ function.

newCase = CopyAndAssignCase([AssignTo],"Start","Month");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
How Can We Improve This Article?