Flow Designer ACTION work ONLY STANDALONE

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 01:48 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 03:21 PM
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 05:54 AM
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> </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! 😀