Restrict field value start with 7 script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2024 02:55 AM
@Ankur Bawiskar @Community Alums @Sohail Khilji @Maik Skoddow Or anyone please help me
I have created a flow and variable and API Action
So in lookup i will be checking the PO Records
and passed the PO Number in Flow variable
So in API Action there is one string field is there so I want to accept the field value of string should accept only if starts with 7
see the screenshot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2024 03:18 AM
Hi @ARAVINDA11
What is the issue you are facing? Can you please define?
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.
********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect
Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2024 05:25 AM
Current script is not working in the screenshot & I need to get the String field from above string value which starts with 7 series only if above string value has 20 number out of 20 it should pass only the series starting with the 7 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2024 03:23 AM
First: it would help a lot if you stop tagging people. That is very annoying!
Secondly: you are only giving statements. What exactly is the outcome? What do you get with your current action?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark