Question
Creating case through Service
I want to create a Case through service. When a case creation request comes through service, in the Service acitivty I am calling the createWorkProcess activity by passing the pyStartCase as the parameter for flow name. Before calling this activity I am creating the pyWorkPage using Page-New method & populating it with required values. This way the case is getting created correctly. But the default WorkParties which will get created if the case is created directly through portal, is not getting created when requested through service. Does anyone have this/similar scenario and faced this issue? Am I missing anything? Is the way I am implementing this is correct?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
You could look at the svcAddWorkObject activity and see if that helps you. In that activity, createWorkPage is called to set up the data for the work object. There is WorkPartiesRule parameter you can specify when calling createWorkPage.