BPT close_activity vs discard activity

hi there,

i have a bpt and external entity run in java stack.

First run in a sub process that consists of a wait activity. In  a screen we call activity_close(121).

Unfortunately the sub process is deleted, and we do activity_close() there is internal error.

So i create a new screen, and do discard_activity(121) and it works.

My question is what is the difference between activity_close and activity_discard? And why activity_close raise that internal error, but activity_discard not?

regards and thank you

Solution

Hi,


Activity_Discard:


In activity_Close you just close that activity, returning the next activity id and the process continue.


Hope this can help.

Best regards,

Ricardo

Solution