Question
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
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.
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.
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.
Pegasystems Inc.
FR
Right, I see, which version of PRPC are you working with ?
LANIT-BPM
RU
It's 7.1.8.
Pegasystems Inc.
IN
Pegasystems Inc.
GB
LANIT-BPM
RU
Correct=) That's why I am asking..
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.
Pegasystems Inc.
FR
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.
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 ?
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
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.
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