Add current page (url) to self-service action trigger data
R
Rich Rein
We have a use case where context is everything - and having the page that the user was on when they triggered the self-service action is an important part of that context. Potentially, this could be a part of the
trigger
object (potentially as a new from
key, alongside the existing "origin": "UI"
?).We have tried thinking about potential workarounds, and all we have come up with so far is to either ask the user to pick which page they came from (forcing us to maintain an enum of existing pages - both unwieldy, and requires additional maintenance) or create one action per page (where the only difference between the actions is that hidden page attribute - again, quite unwieldy and adds a lot of additional maintenance).