Syntax for flow designer record lookup script

Community Alums
Not applicable

Hi , 

I want the below encoded query to be added in record lookup for my flow designer.

What is the syntax for adding encodedquery in lookup record -

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

I am updating it

return

"active=true^due_date<javascript:gs.beginningOfToday()^assigned_toISNOTEMPTY^parent.closed_by.managerSAMEASassigned_to"

Please mark my response as correct

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

15 REPLIES 15

Hi,

then use this

"active=true^due_date<javascript:gs.beginningOfToday()^assigned_toISNOTEMPTY^parent.closed_by.managerSAMEASassigned_to"

find_real_file.png

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Community Alums
Not applicable

Hi Ankur ,

when i add this and run the test , it shows empty value in conditions in runtime value , means it is not taking the query to look for records

What can u do for this.

 

Thanks,

Gaurav

Raghu Ram Y
Kilo Sage

HI,

You can achieve without script..

try something like below...

Community Alums
Not applicable

Hi Raghu ,

I am triggering this at particular time daily -

not getting same option- request record as urs.

find_real_file.png

Okay, that's fine...

even though my solution works...give a try.. 

just for example.. I have used.. Trigger->record..some thing like this..

u can modify as per your requirement.