alert popup prompting from operation form but not from workflow | Community
Skip to main content
pierrec70731455
New Participant
April 17, 2019
Solved

alert popup prompting from operation form but not from workflow

  • April 17, 2019
  • 1 reply
  • 1648 views

Hi,

I was able to prompt a popup alert

from a Campaign (nms) form button

calling an nms operation soap call method

<soapCall name="generateHierarchyForCampaign" service="nms:operation">

   <param exprIn="@id" type="int"/>

</soapCall>

and in this method the alert(...) function is called.

function nms_operation_generateHierarchyForCampaign(operationID){

...

alert("Duplicates in the Market Groups : " + duplicates.toString());

...}

My issue is that I'm unable to prompt a alert window from a workflow in a js activity script.

Does anyone have any insight regarding this?

Thank you for your help,

Pierre

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonathon_wodnicki

Hi,

You can't alert with modal dialogs using a js activity.

You can accomplish similar by writing to the audit log with logWarning(), then pausing execution with xtk.workflow.Pause(instance.id)

Thanks,

-Jon

1 reply

Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
April 17, 2019

Hi,

You can't alert with modal dialogs using a js activity.

You can accomplish similar by writing to the audit log with logWarning(), then pausing execution with xtk.workflow.Pause(instance.id)

Thanks,

-Jon