How to Invoke an Activity which is not in the Inheritance path
I have defined a flow action in my work class and I need to invoke an activity (post-processing) which is defined in PegaAccel-Management-Import class. How Can I do it.
FYI, as mentioned in "https://pdn.pega.com/community/pega-product-support/question/calling-activity-different-class-button", I have created an activity in the same class as my Flow Action and tried to directly call the activity from PegaAccel-Management-Import class. But didn't help.
Got the following error:
Rule-Obj-Activity instance not found: HCL-CodeReview-Work.pySetFilePath. Details: Invalid value for Activity name passed to ActivityAssembler
I have even tried defining the PegaAccel-Management-Import class in Pages & Classes tab of the created activity. Still the same issue.
**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.
Try the following approach.
- Create a new activity in the inheritance path where your flow action can refer and include it as the post action.
- In this new activity add a step and call the relevant activity by giving the class reference.
- Ex -: Call PegaAccel-Management-Import.ActivityToBeCalled
Keep up to date on this post and subscribe to comments