Workflow gs.addinfomessage not triggering

Sheryl Lyke1
Kilo Contributor

My first step in a workflow is a run script task to display a message that a ticket has been created. The workflow starts when a record is inserted into the table. This was working fine but it isn't running anymore. When I look at the workflow active context, it says the task completed successfully. I thought maybe something was interfering with it. I do have an on submit catalog client script. But even if I inactivate that, the message still does not appear. Ideas as to other things that would stop the message from displaying?

The only code in there is:

gs.addInfoMessage("Your request has been submitted. Your manager will be contacted for approval");find_real_file.png

3 REPLIES 3

Hussain Kachwal
Mega Guru

Hello,

I depicted your scenario, which is working perfectly fine for me.

The only thing I would suggest here is the troubleshooting part. You may add a 'Show Workflow' Related Link (that is how I personally test) in order to trace down your workflow or to Set he workflow Inactive & try to Publish it again (as a try).

-Hussain K

Chandu Telu
Tera Guru
Tera Guru

HI Selyke,

 

Do you if you have only to dispaly an message there is no use of it .

you can use the client script/business rule to show a pop up.

 

cehkc this messgae in logs.

gs.addInfoMessage("Your request has been submitted. Your manager will be contacted for approval");

 

Thanks

Chandu Telu

Sheryl Lyke1
Kilo Contributor

Chandu, thanks for the reply. I've tried that too. It briefly shows the message but it doesn't stay when the user is returned to the catalog page. I had use the workflow task successfully in the past to do this and it would remain on the screen until the user navigated somewhere else. But this may be my only option for now.