ManojVijay Member since 2017 1 post
MSG Systems
Posted: 3 years ago
Last activity: 3 years 4 months ago

Activity-End method usage

hi ,

I have a requirement to end the execution of an activity and all its calling activities at a certain point based on certain conditions

For example

Say an Activity A calls another Activity B which calls Activity C and some where in the middle of Activity C we call Activity D.. Activity A is called as a post activity in a flow action.

Note Activity A and Activity B are final.

Under certain if else logic in Activity D, I need to stop the execution.. I tried using Activity-End and pega.terminateActivity() . It stopped the execution of the calling activities but displays ActivityStatusSuccess Harness in the action area. Is there any way to prevent this message

***Updated by Moderator: Marissa to update categories***

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn