Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Syntax for flow designer record lookup script

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  ||  10x 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

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

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.