Skip to main content
Question

Call Custom Action from Workflow Rule

  • November 21, 2024
  • 7 replies
  • 90 views

Forum|alt.badge.img+1

Is it possible to run a Custom Action when a Workflow Rule is triggered?

7 replies

Forum|alt.badge.img+3
  • Gold Active Participant
  • 23 replies
  • November 25, 2024

You could edit your workflow rule to add another action to it instead of creating a complete new custom action. You simply click on your workflow rule, “edit”, scroll down to “ Add another action”, then select what action you need: update a field, send an email, send a report, etc.

 


Forum|alt.badge.img+1
  • Bronze Innovator
  • 3 replies
  • May 8, 2025

I have a similar issue and extending the workflow won’t work (I don’t think)

I need to have the user add a note when the workflow = True and as far as I can tell, to prompt user input for the note, I need to have a custom action to kick off. The workflow answer only pulls data from existing fields into the note.

Does anyone have a solution to that scenario?


Forum|alt.badge.img+3
  • Gold Active Participant
  • 23 replies
  • May 8, 2025

@ShaneDodge If I’m understanding correctly, I think what you need is to create a validation rule instead of a custom action action. Your workflow would be, if conditions a + b + c happen, then the user would receive a notification message reminding them to fill out the note.


Forum|alt.badge.img+1
  • Bronze Innovator
  • 3 replies
  • May 8, 2025

No, I want if a + b + c happen, I want a custom action to fire with a textbox that will give the user instructions, then take that text and put it into a note.


Forum|alt.badge.img+3
  • Gold Active Participant
  • 23 replies
  • May 9, 2025

Oh I see…. one option I can think of is to set a condition where if a + b +c, an email is sent to the project owner. That email would contain the instructions, any data you want to pull from the project, etc. Another option would be to create a notification pop-up, same thing, you can add fields to pull from the project, you can add some instructions there too..

 


Forum|alt.badge.img+1
  • Bronze Innovator
  • 3 replies
  • May 9, 2025

This gave me an idea that I think will work.
In the notification body I put the following code:

Hi {CurrentUser()},
Click <a href="{GetCustomActionUrl('Opt Out Reason',GetRuntimeParameter(CurrentObject()))}">HERE</a> to add a note to this record.

 

Opt Out Reason is my custom action name

This gives them a pop up box with a URL link that kicks off the custom action.

 

Thanks again for your help!


Forum|alt.badge.img+1
  • Gold Active Participant
  • 8 replies
  • October 23, 2025

I’m still getting my head around GetCustomActionURL. Would you mind posting a sanitized version of your custom action, ​@ShaneDodge , so that I can see what the relationship is between the current object and the custom action?