Question

property-set is not setting value

hi guys,

I am trying to set 'emailid' value from table records into a property and then pass this property as input to 'To' in sendemailnotification method. When i run tracer, parameter is not being set, it is empty, so i get message saying atleast one emailid is required(to or cc or bcc).

I can see once the when rule in property-set is being validated, property values is not set, it is directly going to child item which is call sendemailnotification. 'To' is empty:

Correct Answer
November 18, 2019 - 8:46am

Hi

Can you add "Emailid" also in the Obj-Browse ?  There is no way it will get the value if  not fetched from Obj-Browse.

Regards

Bhavya

Comments

Keep up to date on this post and subscribe to comments

November 18, 2019 - 5:50am

Hello, 

Could you share the tracer XML? What PRPC version is it?

November 18, 2019 - 6:20am
Response to MarcLasserre_GCS

Hi McLasserre,

Here you go! PRPC is v8.3

November 18, 2019 - 6:06am

Hi

So instead of setting the value to "Primary", can you instead use a parameter "Param.HoldEmailID" and use that in the send email step. 

Primary might be taking a different context, than the step page of send email step.

Regards

Bhavya

November 18, 2019 - 6:34am
Response to Bhavya_Incessant

Hi Bhavya,

Property-set step is skipped as 'emplist.pxResults(<CURRENT>).Emailid!=""' returned true, i think 'emplist.pxResults(<CURRENT>).Emailid' is not pulling data from table. Same when i used primary.holdemaid too. Am I using wrong pagelist to pull data? Can you please check and help me!

November 18, 2019 - 8:46am
Response to jeevanm7

Hi

Can you add "Emailid" also in the Obj-Browse ?  There is no way it will get the value if  not fetched from Obj-Browse.

Regards

Bhavya

November 18, 2019 - 8:56am
Response to Bhavya_Incessant

wow thank you!!!!!!!!!!

November 18, 2019 - 8:43am

knock knock! anyone here please!