Hi Yohan.
I am actually somewhat puzzled. If you are using 12.2, you must be using the Automic Web Interface, correct?
I am not sure I'd go the popup route with that at all, or how you'd actually get one.
While there is the Web Notifications which is sort of a popup type message, I would consider this as far too fragile and sort of moving goal post for an implementation of a new system. Among the reasons being, it's not a popup that requires a button press, it's implementation specific for the browser, it's usually disabled by default and users need to explicitly allow web notifications.
Additionally, out of curiosity I tried generating popups with e.g. :send_msg, and they do not trigger a popup at all in 12.x, at least in my browser. They merely cause a message in the message window which is very easy to overlook.
Or are you by chance somehow still using the Java client?
(edit: okay, I have now tested with the ALARM-type call object and I get a popup, and if it happens fast enough, there can be multiple at once on my screen. But they go away after a few seconds on their own, even if it's just one - easy to miss. And I would not rely on those either. Too implementation specific with the browser version in my mind ...)
Regards,
Carsten
Original Message:
Sent: 11-07-2019 02:36 AM
From: Yohan JANOLIN
Subject: Promptset & Popup
Hello Peter,
Sorry, I forgot to mention that we are using v12.2
------------------------------
OneAutomation Consultant
Original Message:
Sent: 11-06-2019 11:36 AM
From: Pete Wirfs
Subject: Promptset & Popup
What version are you working in? Under V11, prompts did give us "pop ups" via the java client. But under V12 and the web based interface, this behavior is very different. It is possible you could "solve" this problem for V11, only to discover that they don't like it under V12.
------------------------------
Pete
Original Message:
Sent: 11-06-2019 10:29 AM
From: Yohan JANOLIN
Subject: Promptset & Popup
Hello,
I have a problem with a new kind of job
The request is to have a workflow with a promptset for some end users
This workflow should not run if a previous run is still active or blocked AND a popup should display a warning message (no input required)
My problem is that I can't manage to have 2 popup
I tried several solutions but everytime the second popup appears as an Request in the top of the windows
To display the warning message, I tried :
- To use a :BEGINREAD statement in the main workflow' process if a previous workflow is already active followed by an CANCEL_UC_OBJECT(ALL)
- A standalone job which use a :BEGINREAD statement if the workflow is already active and if not the ACTIVATE_UC_OBJECT (ENABLE_PROMPTS) function to launch the workflow
- To move the prompset inside the workflow (on the first sub-workflow - with the rights settings) and add a previous job with a :BEGINREAD statement if a previous workflow is already active followed by an CANCEL_UC_OBJECT(ALL)
I even tried to put the warning message after the promptset and everytime the second "popup" would not be displayed and still appears as a request at the top of the windows
I would appreciate if anyone has already manage to implement this kind of "double popups"
PS : sending an email instead of displaying a warning message works fine but they want a popup
Regards,
Yohan
------------------------------
OneAutomation Consultant
------------------------------