How do I update the words in Get Page URL

  • sparikh
    Asked 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."

    1642690856 61e97928f114d  Screenshot 10

    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 Support
    Replied 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:

    1642705892 61e9b3e454005  Screenshot 10

    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.

    1642706026 61e9b46a8a4be  Screenshot 21

    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?

    1642706089 61e9b4a9219ce  Screenshot 32

    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.

    1642706538 61e9b66a3db4d  Screenshot 43

    And the following Edit Submission URLs are being used for our workflow process:

    1. Request for Review: https://www.jotform.com/edit/{id}?requestFor=review
    2. Request for Recommendation: https://www.jotform.com/edit/{id}?requestFor=recommender
    3. 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:

    1642706500 61e9b6440e917  Screenshot 54

    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!