Close popover
Patrick Capron (PatrickC8660)
TD Bank Group
Solutions Design IT Specialist
TD Bank Group
PatrickC8660 Member since 2014 25 posts
TD Bank Group
Posted: May 25, 2018
Last activity: June 19, 2018

CPM Finish assignment / Submit Flow Action from Java Script

We have a requirement where from an Intent we create another work object, display it and submit the current intent.

The only way we could find to kind of do it is to create the work object as part of the post processing on the Intent and have another "dummy" assignment to the current user which displays a section with some javascript which opens the newly created work object using pega.desktop.openWorkByHandleReload and then submits the assignment.

I am able to easilly close the work item, but this won't finish the assignment. I tried using
which submits the flow action, but it does not mark the intent as completed.

Is there a way to do this which would mark the Intent as Completed inside the current Interaction?

***Edited by Moderator Marissa to update categories***

Low-Code App Development User Experience
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.