Expand my Community achievements bar.

Passing form field name to the subject line of the task assign email

Avatar

Former Community Member

Hello Everyone,

I am trying to create a process that need to pass one of the field data from a form to the task email assign but could not make it work right as expected. I think I miss something but could not figure it out myself. If any one has done this before, please share your knowledge.

Thanks in advance,

Han Dao

4 Replies

Avatar

Level 10

This should be a simple use of xPath to get the data element.

Are yuo getting an error? What is your xPath? What setting are you try to set on the email service?

Jasmin

Avatar

Former Community Member

Hi Jasmin,

I thought it simple thing to do by passing the xPath to the subject line but for some reasons, it does not work instead it show the whole xpath on the subject line. Here is my xpath:

{$/process_data/FormData/object/data/xdp/datasets/data/FSFIELDS_/Form1936/EmpInfoSub/UserMgr$}

where Form1936 is the pageName, EmpInfoSub is sub-form, and UserMgr is field name on the form.

Thanks,

Han Dao

Avatar

Level 10

Make sure to select xPath and not literal ( in the little drop down) for the type.

Jasmin

Avatar

Former Community Member

It was a typo on the xpath but I get it works now.

Thanks Jasmin,

Han Dao