WF_ROLES & HZ_CONTACT_POINTS not a valid role
Hi,
I am using workflow notifications for sending mail and attachments. I want to send mail to external users, here the problem I am facing is that I need to use those are defined in the WF_ROLES only for that related email address I can send email.
But I want to use HZ_CONTACT_POINTS email for that I prefer to use HZ_PARTY_WF_ROLES_V where it has role name and email address. When I passed in my custom package like this
wf_engine.setitemattrtext (itemtype => v_item_type
,itemkey => v_item_key
,aname => 'TOROLE'
,avalue => 'HZ_PARTY:13128'--x.meaning
);
I am getting error message ' Error in Workflow XXFNDNTW/050112113301454437 3205: 'HZ_PARTY:13128' is not a valid role or user name'
Please help me how can I use HZ_PARTIES/ HZ_PARTY_WF_ROLES_V to send mail.
Regards,
Nagendra