Restrict field value start with 7 script

ARAVINDA11
Tera Contributor

@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

ARAVINDA11_0-1719395690493.png

 

3 REPLIES 3

PrashantLearnIT
Giga Sage

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
********************************************************************************************************

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 Manders
Mega Patron

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