Question: How to retain service params after recovery of process flow?
Answer: If any process flow recovers then Service params of an activity will not be available for use. Suppose if in a plugin we are setting in context the service variable "file name" for File target activity. Then on recovery of Process Flow , this “Service.FileTargetName.fileName” , will provide a null value.
So, you can persist service parameters information in a global context variables (via Put-Context-Var action) after activity execution inside your Process Flow. Since, global context variables are persisted in recovery file, it will be recovered successfully after system crash.
Comments
0 comments
Article is closed for comments.