Hi There,
I have a code snippet where I have some fetchxml retrieving a value from CRM and populating/adding a hidden field to the page.
The snippet is inserted into a page which users come being redirected from another page. I want to add few seconds wait my fetchxml tries to retrieve the record as in first go record is still in creation and I get 0 record on the page where snippet is placed.
Process:-
1. Complete last step of web form by clickng on a workflow button (which executes a real time workflow creating records)
2. I have configured it to redirect to my page where I have placed the snippet having fetch query but in first attempt I don't get the record and users see an incorrect message (As I have configured).
Can someone help add some wait into liquid?
(I tried adding Js window.setTimeout() but it executes later, liquid gets executed first. I want the fetch to be executed 3-4 seconds delayed)
Thanks in Advance.
*This post is locked for comments