Posted: 8 Jul 2016 16:01 EDT Last activity: 4 Aug 2016 10:09 EDT
Assignment error when calling a flow on pyWorkCover of child case
When attempting to call a flow on the pyWorkCover page of a child case object, we are getting the following error: 'Either no actions are specified for this assignment or you do not have the permission to access any of them'
The child case was created from a sibling under the same parent transaction. We used the pxAddChildWork on the pyWorkCover to create the child case.
Calling this same flow and process works if the child work object was created through the parent transaction calling the subcase, as opposed to using the pxAddChildWork from the sibling.
In the sibling child case, we have an 'other actions' menu item to create the sibling case. This option calls a flow in modal dialog using the pyWorkCover page. Inside this flow we have a flow action/section for the user to enter values that will be used for the new child case. After the submit of the flow action, we call a utility shape with pxAddChildWork using the child case work class as the ChildClass and pyStartCase as the flowName.
The pyWorkCover class is the parent transaction class which the first child gets created under. In my specific application the class is TC-CN-Work-Transaction. The child case is TC-CN-Work-PRF.
No, the parent flow does not exist inthe child case's pyWorkPage-> pxFlow list, after creating it with pxAddChildWork. The only flows on the pyWorkPage is the current flow the child is in, and the pzInternalCaseFlow.
I have created scenario like below. Child1 and Child2 are sibling's.
Gang-gangaapp-Work -> StartMyFlow, StartMyFlowNew
I am running StartMyFlow and from other actions, I have invoked StartChildFlow to create child case.
Under StartChildFlow , I have configured button to launch "FlowInModalDailog". In FlowInModalDailog, I am invoking other flow from parent StartMyFlowNew which has some action followed by invoking pxAddChildWork. Inside pxAddChildWork, I am invoking StartChildFlowNew to create child case.
Kindly correct me if I miss any steps to replicate the issue.
When I run the StartMyFlowNew flow standalone child work object is created successfully, however when I launch from FlowInModalDailog, child work object gets created and wasn't able to open the created work object. Getting error.