Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

alert popup prompting from operation form but not from workflow

Avatar

Avatar
Validate 1
Level 4
pierrec70731455
Level 4

Likes

62 likes

Total Posts

59 posts

Correct Reply

14 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 4
pierrec70731455
Level 4

Likes

62 likes

Total Posts

59 posts

Correct Reply

14 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
pierrec70731455
Level 4

17-04-2019

Hi,

I was able to prompt a popup alert

1734955_pastedImage_0.png

from a Campaign (nms) form button

1735013_pastedImage_1.png

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
wodnicki
MVP

Likes

976 likes

Total Posts

1,096 posts

Correct Reply

514 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile

Avatar
Establish
MVP
wodnicki
MVP

Likes

976 likes

Total Posts

1,096 posts

Correct Reply

514 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile
wodnicki
MVP

17-04-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

Answers (0)