Error in Process model .

Hi all ,

I'm new to Appian and i'm facing this error .

There is a problem with task “Send E-Mail Notification” in the process “MSL Close Email Notification Process”

Problem:  An error occurred in executing an Activity Class.

Details:  No valid recipients resolved

Recommended Action:  Examine the activity class to correct the error and then resume.

Priority of this problem: High Priority

 the process model is like 

script task 1 -----script task 2 -------- email smart service 

IN script task one the condition is like 

rule!MSL_fetchDelegatedUserFromDelegationTable(originaluser :pv!emailRecipientUser) and saved as MST_PM_delegationtable which one is CDT Type 

and In script task 2 

if(rule!APN_isBlank(pv!MST_PM_delegationtable),pv!emailRecipients,pv!MST_PM_delegationtable.delegateduser[1]) where pv!emailRecipents type is User .

i want to start is Process model can any one help to fix ds .

  Discussion posts and replies are publicly visible

Parents
  • In Script task 1 you are getting recipients by rule!MSL_fetchDelegatedUserFromDelegationTable(originaluser :pv!emailRecipientUser) and storing in MST_PM_delegationtable(CDT),if the rule returns empty data then you are making recipients as pv!emailRecipients
    so ,check rule!MSL_fetchDelegatedUserFromDelegationTable(originaluser :pv!emailRecipientUser) is returning data or not if no then then check value is present in pv!emailRecipients.


    One more thing pv!MST_PM_delegationtable is single cdt value or array ? if single no need to use index[1] 

     you can get the user from cdt by pv!MST_PM_delegationtable.delegateduser

Reply
  • In Script task 1 you are getting recipients by rule!MSL_fetchDelegatedUserFromDelegationTable(originaluser :pv!emailRecipientUser) and storing in MST_PM_delegationtable(CDT),if the rule returns empty data then you are making recipients as pv!emailRecipients
    so ,check rule!MSL_fetchDelegatedUserFromDelegationTable(originaluser :pv!emailRecipientUser) is returning data or not if no then then check value is present in pv!emailRecipients.


    One more thing pv!MST_PM_delegationtable is single cdt value or array ? if single no need to use index[1] 

     you can get the user from cdt by pv!MST_PM_delegationtable.delegateduser

Children