Question

1
Replies
1298
Views
Manoj Vijayakumaran (ManojVijay)
MSG Systems

MSG Systems
DE
ManojVijay Member since 2017 1 post
MSG Systems
Posted: May 19, 2017
Last activity: May 22, 2017
Posted: 19 May 2017 8:06 EDT
Last activity: 22 May 2017 0:49 EDT
Closed

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, 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.