Question
Ai4Process
PL
Last activity: 21 Oct 2024 3:32 EDT
Working with containers - getting current container
Dear Community,
I am struggling to understand way of working with containers using PConnect and PCore.
All starts with: saveAssignment(containerItemID) (pega.com)
In order to execute this method i do need containerItemID (i would like to save whole form - workarea). I can only see methods to get Current container name or get child containers, but it does not help.
In redux i do see that workarea ID is app/primary_1/workarea_VARIABLE.
Could you please advise how do you refer to the workarea containerItemID? How to refresh the form after save if i am not leaving the page?
PS. Documentation "Saves the opened assignment" is not descriptive enough. What does it save?
Best Regards,
Pawel