-
sparikhAsked on January 20, 2022 at 11:42 AM
Hi, I'm following the example in https://www.jotform.com/answers/1514831-multi-tiered-approval-process
In that example, one of the conditions looks for Get Page URL containing "process."
I can't figure out how they include the word "process." They also use words "recommender" and "review" in other triggers.
I see that Get Page URL naturally trigger on the word "edit" but how do you embed these words like "process" in the URL? Thanks!
-
Samuel_Ray Jotform SupportReplied on January 20, 2022 at 2:30 PM
Hi there,
They're getting that from the Form URL itself.
Basically what's happening is they're checking in the form what kind of service the user needs from their staff. Those services are divided into "process", "recommender", and "review". They check this via the conditions. Here's one of the conditions on the form:
Then, once they're able to confirm what the user needs, they then send an email to the staff that handles just that. Here's how it goes:
Here's the condition.
Then if it passes this condition, this email is being sent to the staff. Notice that there's a hyperlink there for an edit link?
That hyperlink is going to the form's edit link for the submission. That's why the form URL that you saw, has the "/edit/" part on it.
And the following Edit Submission URLs are being used for our workflow process:
- Request for Review: https://www.jotform.com/edit/{id}?requestFor=review
- Request for Recommendation: https://www.jotform.com/edit/{id}?requestFor=recommender
- Request for Approval: https://www.jotform.com/edit/{id}?requestFor=process
The URL you saw is being used to let the form know that this staff member is here to edit the submission with {id} and that the form needs to show the needed area by the staff. Please note that the {id} here maps to the Submission ID (the current submission). Here's the condition that does that:
Here's a guide that can help you in creating a similar URL for your form if you need it: Prepopulating Fields to Your Jotform via URL Parameters
I hope this information helps. If you need further help, please don't hesitate to reach back out to us. Thank you!