In the java of an auto activity, comments are to be added; so that:
once the activity is rejected in the java, the previous activity performer, can see the comments, why the auto activity is rejected
Suggestions are requested to acheive this
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
Hi,
I think you can use
IDfPackage.appendNote(Stirng text, boolean persistant)
//Form DFC API...
text
persistent
true
false
DfException
Regards,
~MV~
Yes, the given syntax is proper
Below code snippet worked for me:
strquery = "dmi_package where r_workflow_id = '"+workitem.getWorkflowId().getId()+ "' and r_act_seqno = '"+workitem.getActSeqno()+"'";
objectPackage=(IDfPackage)session.getObjectByQualification(strquery);
objectPackage.appendNote(commentsToAppend, true);