Logic for Redirect URL

Certified Lead Developer
I am trying to replicate a design which I have in Appian 7.3 version in Appian 16.2 . Below are my requirement and design in Appian 7.3

Requirement:
1. When the user clicks on 'View report link', System should show them Valid report base on the type of user and the report type what user has requested. (Note we have reports in Non-Appian system)

Current design:

1. We have rule which creates a link using below parameter
-ProcessModelId
- ReportType
-Id

this rule return the below link
http://<Environment Base URL>/suite/process/proclauncher/configureprocess.simplepopup?processModelId=XXXX&Id=XXXX&ReportType=XXXX

2. When the user clicks on above link it opens popup window of portal form and we have java script on start form of the process model, which parses the parameter from the above URL. and stores this in to process variable.
3. After that, We have one gateway in p...

OriginalPostID-244910

  Discussion posts and replies are publicly visible

Parents
  • Replicate a design from Appian 7.3 in Appian 16.2 for redirecting users to valid reports,

    you can follow these steps:

    •  Construct a URL with parameters like ProcessModelId, ReportType, and Id, similar to the Appian 7.3 version.
    •  Create the redirect URL, which could look like: "http://<Environment Base URL>/suite/process/proclauncher/configureprocess.simplepopup?processModelId=XXXX&Id=XXXX&ReportType=XXXX".
    •  When the user clicks the link, open a popup window or new tab.
    •  In Appian 16.2, extract and store the parameters using built-in Appian features, such as process model inputs or local process variables.
    •  Use a decision gateway or conditional task to handle the logic based on user type and requested report type.
    •  Perform the necessary actions based on the logic, such as retrieving the valid report from the Non-Appian system and displaying it to the user.

    Ensure to set appropriate security measures and access controls to protect report access. 

    Make sure to clear your browser cache before testing the redirection. You may also validate your test on any online tool, such as the redirect checker tool along with the redirect chain.

Reply
  • Replicate a design from Appian 7.3 in Appian 16.2 for redirecting users to valid reports,

    you can follow these steps:

    •  Construct a URL with parameters like ProcessModelId, ReportType, and Id, similar to the Appian 7.3 version.
    •  Create the redirect URL, which could look like: "http://<Environment Base URL>/suite/process/proclauncher/configureprocess.simplepopup?processModelId=XXXX&Id=XXXX&ReportType=XXXX".
    •  When the user clicks the link, open a popup window or new tab.
    •  In Appian 16.2, extract and store the parameters using built-in Appian features, such as process model inputs or local process variables.
    •  Use a decision gateway or conditional task to handle the logic based on user type and requested report type.
    •  Perform the necessary actions based on the logic, such as retrieving the valid report from the Non-Appian system and displaying it to the user.

    Ensure to set appropriate security measures and access controls to protect report access. 

    Make sure to clear your browser cache before testing the redirection. You may also validate your test on any online tool, such as the redirect checker tool along with the redirect chain.

Children
No Data