Skip to main content

How to Get the URL of a Rule

  • September 10, 2024
  • 4 replies
  • 56 views

bradley
Forum|alt.badge.img+8

I recently came across needing to do this and for whatever reasons conventional means failed me, until repeating something I had tried before inexplicably did what I needed it to. So, to hopefully save others some grief in case just copying the URL after you’ve clicked on a rule doesn’t work, here you go:

Note: This pertains to NXT users who login via SFDC.

 

Base URL:

YOUR_DOMAIN--jbcxm.vf.force.com/apex/GainsightNXT#rulesmanager%23%2Frule%2Fedit%2FRULE_ID%2Fdetails

(I omitted the https part so this didn’t turn into a URL, but don’t forget it)

 

Replace the bold, italicized and underlined text:

Your_Domain: with whatever your SFDC domain happens to be.

Rule_ID: This is the ID of the rule itself

 

Finding the Rule ID:

  1. Run the rule successfully at least one time

  2. Look for the execution history

  3. Open the logs for a given execution of the rule

  4. Find the penultimate log that should start with “Execution started for Rule : …”. The rule ID will be in [brackets]

This should take you to the Rule details page of your rule!

 

There might be other or better ways, but I found that this one worked.

4 replies

revathimenon
Forum|alt.badge.img+8
  • Gainsight Community Manager
  • September 10, 2024

Thanks for sharing @bradley 🙌🏼


Carol_Keyes
Forum|alt.badge.img+4
  • Helper ⭐️
  • September 10, 2024

This is really interesting! Thanks so much for sharing! 


spencer_engel
Forum|alt.badge.img+5
  • Expert ⭐️
  • September 10, 2024

Very helpful, thank you. @rakesh this is a step backwards from before. With bionic rules, you could simply copy and paste a URL from the browser, and it would take you to the right rule. Why not so for horizon?


bradley
Forum|alt.badge.img+8
  • Author
  • Expert ⭐️
  • September 10, 2024

Very helpful, thank you. @rakesh this is a step backwards from before. With bionic rules, you could simply copy and paste a URL from the browser, and it would take you to the right rule. Why not so for horizon?

To be fair, that did work like twice. It was very odd. That’s where I started trying this, but I got the base64 URL and decoding that was always just sending me to the main rules page. Only after fuzting around and finding this way, did I happen to click a link again and it worked like this. Then it stopped. So, YMMV I guess haha.