Discussion
Evonsys Pvt Ltd
LK
Last activity: 13 Jun 2017 10:12 EDT
Update Status
Can someone tell me how can I update the status of the case using an activity?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
SG
In an activity, call the "Property-Set" method on the property .pyStatusWork and set it to your desired work status.
Or if you want to, you can also create a Data Transform that sets the work status, and in the Activity use the Apply Transform method to call the Data Transform.
Evonsys Pvt Ltd
LK
Thanks a lot CHUAT. It was helpful.
Cognizant
IN
Hi,
In an activity, don't use the Property-Set method in an activity to change a work item status. Call the standard activity Work-.UpdateStatus, which changes the status directly, and calls standard activities RecalculateAndSave and Resolve as appropriate. This activity is of type Utility.
All three activities update the work item history to reflect the status change and perform other housekeeping.
BRADESCO SEGUROS
BR
Hi, Do you know how can i update a work item status from another case?
ex: I'm working in "Purchase Case" and I need to change the work status of "Delivery Case". But I dont know how to do that.
Serendebyte
IN
Hi,
Open the case using "Obj-Open-By-Handle" change the status and "Obj-save" the changes.
For this you should have pzInsKey of the case you want to update at runtime.
Virtusa
LK
Thanks shivendrak6931. UpdateStatus really helped.
SINARMASMSIGLIFE
ID
hi,
can i get sampling about activity UpdateStatus ?
I want to use it, but for some case ID in one process.
Can i use that activity ??
This comment has been branched out as a new node and the new thread can be followed here