Question

6
Replies
315
Views
Close popover
Bin Xu (GAVINHSU)
Mediatek Inc. China

Mediatek Inc. China
CN
GAVINHSU Member since 2011 24 posts
Mediatek Inc. China
Posted: February 2, 2016
Last activity: February 25, 2016
Closed
Solved

Parent-flows' parameter value doesn't passed to sub-flow

We have a parent-flow which was defined as a component, in this parent-flow a sub-flow was called to create assignments.

Parameters (i.e. param.HarnessPurpose) of parent-flow was filled with a specified value (i.e. Perform); and this parameter value will be passed to the sub-flow. Which means the sub-flow will take param.HarnessPurpose as the value of HarnessPurpose parameter.

This used to work very fine with PRPC version 6.1 SP2, but not with the upgraded PRPC version 7.1.8. An error message as below will show while try to perform the assignment.

Failed to find instance MTEK-BPM-HR-Work-TOA-Apply.Param.HarnessPurpose of type Rule-HTML-Harness.

The general problem is pxFormName of assignment was changed to Param.HarnessPurpose when trying to perform the assignment first time.

And we're sure that the pxFormName is correct when the assignment was created.

And we also found that the pxFormName was updated at step 7 of Assign-.OpenAndLockWork.

Steps to Reproduce

1. Create a sub-flow - flowA to create an assignment, and specify Param.HarnessPurpose as assignment's value of HarnessPurpose parameter.

2. Create a parent flow - flowB, which calls the flowA, and specify Perform as the value of HarnessPurpose parameter.

3. Use this flow to create a work object.

4. An error will comes out when try to perform the assignment of flowA.

Error Message

Failed to find instance MTEK-BPM-HR-Work-TOA-Apply.Param.HarnessPurpose of type Rule-HTML-Harness.

Appreciate a lot if there's any way to fix this issue.

Thanks.

System Administration Upgrades Low-Code App Development
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.