Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
LANIT-BPM
RU
Last activity: 25 Apr 2017 6:01 EDT
Is it possible to open an assignment in modal dialog?
Is it possible to open an assignment in modal dialog? I've tried opening a flow in modal with utility shape with processassignment activity but failed to make a working solution yet. Any ideas about that? Thanks.
***Updated by moderator: Lochan to add Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
FR
All right,
So I managed to make it work, but I wouldn't recommend this approach. I'm still using the same setting "Flow in modal dialog". As you know, this is calling a brand new flow, but I use it as a placeholder. I'm not generating any pyID by using the TemporaryWorkObject option on the flow.
Then the flow is having a utility shape which is finally calling Assign-.ProcessAssignment activity (to open the real assignment) and finish my placeholder flow.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
FR
Hi Oleg,
Where is your MODAL called from ? Can you clarify your scenario, are you already working on a WorkObject within an assignment, or are you calling the MODAL from a PORTAL for example.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
LANIT-BPM
RU
Hello Marc,
I am working in Portal and want to open a work object and assignment in it in modal window by clicking the button for example.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
FR
Right, I see, which version of PRPC are you working with ?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
LANIT-BPM
RU
It's 7.1.8.
![](https://accounts.pega.com/sites/default/files/pega-user-image/39/REG-38808.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/39/REG-38808.png?source=PUMINIT)
Pegasystems Inc.
IN
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-04/0aeea859-d28c-4613-ad9b-910b23846ea5.jpg?h=f9b91d5d&itok=P_fwua_A)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-04/0aeea859-d28c-4613-ad9b-910b23846ea5.jpg?h=f9b91d5d&itok=P_fwua_A)
Pegasystems Inc.
GB
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
LANIT-BPM
RU
Correct=) That's why I am asking..
![](https://accounts.pega.com/sites/default/files/pega-user-image/39/REG-38808.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/39/REG-38808.png?source=PUMINIT)
Pegasystems Inc.
IN
Hi
I remember there used to be a feature in classic portals ( like workuser ) where you can open an assignment in a new window ( not in modal ) on click of a button .
The HTML which was used for that is findWorkByIDQueryNext ( under Data-Gadget class ).
At runtime we used to click the button and the workitem used to open up in a new window.
May be you can explore this function and create your own custom function based on this.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
FR
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
LANIT-BPM
RU
Marc, thanks for you reply, but I know that it's possible to open the flow in modal, the question is how to open the other work object's assignment in this flow if it's possible=) there seems to be some pecularities in this.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
FR
Well this is exactly why I was asking details on your scenario. I don't get it, which "other work object's assignment in this flow" ? Is your flow having multiple assignments for the same Work Object's ?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
LANIT-BPM
RU
Ok, I will try to be more specific=) For example, we have a list of assignments in portal in a grid. Let's suppose that we also have a button in each row by clicking on which we want to open an assignment in modal dialog. So, we need to open the work object and assignment in it.
Accepted Solution
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
FR
All right,
So I managed to make it work, but I wouldn't recommend this approach. I'm still using the same setting "Flow in modal dialog". As you know, this is calling a brand new flow, but I use it as a placeholder. I'm not generating any pyID by using the TemporaryWorkObject option on the flow.
Then the flow is having a utility shape which is finally calling Assign-.ProcessAssignment activity (to open the real assignment) and finish my placeholder flow.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems
US
I recall that for some Pega versions, if you clicked an assignment from your work list in the portal, and that assignment needs rulesets from a different access group than your current access group, the system would open it in a new window in order to apply the different access group, so as to leave your access group intact in your original window.
Does your Pega version still have the feature ? If so, you could trace that mechanism to see how it works. You might need to use fiddler as well to understand it, since there may be javascript involved. /Eric