Passing a context via external webpage when using Embedded UI

Hi All,

I do have a requirement to embed a UI in our customer portal and display some details based on the user context. 

We are able to successfully embed the UI, but the problem I am facing is that, a single user has one to many relationship to cases. (case is what we create for each user for the customer journey, a set of data identifiable via a unique case id).

When customer logged into the external customer facing webpage they will be working on a single case, and when we are going to render the embedded Appian UI, we need a way to identify the case the customer is working on at that moment. I am open to any suggestion.

(I already though of first display all cases related to the customer derived via logged in user and allow them to select one and proceed, but this is a very ugly way of designing it and not a very smoother user journey, and this can lead to a lot of issues as well)

Thank you in advance for your thoughts.

  Discussion posts and replies are publicly visible

Parents
  • How do you know which case should be displayed? Is there some logic that you use (e.g. most recently opened case, case with the first ID, etc.)? I also can't tell - what are you showing in Embedded? Is it a record / report / task?

    If you're showing a report, then you can probably set up all of your logic that determines what case to display right within the report interface. If you're dispalying a task or record, usually the best way to set this up is to create a web API that determines which task ID or record ID should be displayed to the user. Then, you can call the web API to return the result and insert the ID to return the corresponding page.

Reply
  • How do you know which case should be displayed? Is there some logic that you use (e.g. most recently opened case, case with the first ID, etc.)? I also can't tell - what are you showing in Embedded? Is it a record / report / task?

    If you're showing a report, then you can probably set up all of your logic that determines what case to display right within the report interface. If you're dispalying a task or record, usually the best way to set this up is to create a web API that determines which task ID or record ID should be displayed to the user. Then, you can call the web API to return the result and insert the ID to return the corresponding page.

Children