Adding Current Variable to Subject Line in Workflow Notification

Aaron25
Tera Guru

Hello,

 

I'm trying to figure out a way where we can add a current Variable ${current.variables.variablename} to the subject line of a Workflow Notification for a catalog item to alert a certain amount of users.

 

The message body is picking up the ${current.variables.variablename} however when i put it in the subject line, it just omits the variable instead of sending it.

 

Below is what I'm using

Aaron25_0-1713384180674.png

 

Email looks like this, just stops at the cost center creation, and does not add the variable.

Aaron25_1-1713384235125.png

 

Any ideas why it would not read it?

 

Thank You,

 

Aaron

 

 

 

 

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

Is the notification set to trigger on the request item table? Does that variable for that use case actually have a value selected on the request for it to then be picked up here in the notification?

 

Your current format should work as that is what you'd use.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

2 REPLIES 2

Allen Andreas
Administrator
Administrator

Hi,

Is the notification set to trigger on the request item table? Does that variable for that use case actually have a value selected on the request for it to then be picked up here in the notification?

 

Your current format should work as that is what you'd use.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi Allen,

 

Thanks for the follow up. What i ended up doing is removing current from Infront of the variables.yourvariable and it worked. 

 

Apparently adding current in the variable in the subject line of the notification does not get read.