Flow Designer ACTION work ONLY STANDALONE

BRUNO BANDEIRA
Tera Guru

Hello guys!

 

I am facing the issue described bellow:

I have a requirement that is taking an HTML field from a series of CASE TASKS in ServiceNow and CAPTURE just a snippet of this data, using the SUBSTRING javascript function.

 

Misteriously my custom action works just fine when I testing it STANDALONE mode bring me the data splited as I want, but, when I use the ACTION after anothr action looks like my parameters of starting and ending point is ignored! I've just use the TOSTRING function to convert from HTML to STRING before the split, but, it doesn't work anyway.

 

Can someone give me a hand?

 

 

2 REPLIES 2

Jon23
Mega Sage

Hi @BRUNO BANDEIRA,

Are you getting any error messages when you trigger it?

I'm guessing you are passing the output from the 'getHTMLFieldValue' action to the 'splitStringValue' action.  If you look at the execution details, does html value match what you expect to be passed in?  Have you tried using that value when testing?

 

 

Hello @Jon23 !

 

Yes, I have used the same values, but, today I thinkI solved the mistery. The code itself on the server does not contains '<p> </p>' but it is '<p>&nbsp;</p>' in reality. I have changed this value with '<p>...</p>' and use the new value insted and it seems that worked just fine!

 

Anyway, thank you very much for your assistance! 😀