Quick message - get catalog item variables value into email

Bidduam
Tera Guru

I am trying to get a variable value from a catalog item so it can be added to a quick message from the sc_task, but so far everything I've tried isn't working.

 

The quick message is on the sc_task table and has some conditions so it only comes up on the particular catalog item and is then a quick message that is available to choose by our Service Desk.

 

So if for example the variable was called "u_xyz" I've tried the following without any success:

  • ${current.variables.u_xyz}
  • ${current.request_item.variables.u_xyz}
  • ${variables.u_xyz}
  • ${current.sc_req_item.variables.u_xyz}

And I'm using it to insert the value into the text in the body of the email in the quick message:

eg: "The following item ${current.variables.u_xyz} is outstanding and you will need to return it asap"

 

Assistance would be much appreciated 😉

 

1 ACCEPTED SOLUTION

Mike Patel
Tera Sage

I use below and works fine for me.

${request_item.variables.xxx}

View solution in original post

2 REPLIES 2

Mike Patel
Tera Sage

I use below and works fine for me.

${request_item.variables.xxx}

Yes that works fine - not sure why it didn't before, I was sure I tried that already. Thanks very much