New functionality of SAP_WAPI_DECISION_COMPLETE
I read the nice blog of Gianluca Bonavitacola in http://scn.sap.com/community/bpm/business-workflow/blog/2013/05/06/user-decision-with-automatic-note.
One more point I want to add. From ECC 6.0 Ehp6 in the FM SAP_WAPI_DECISION_COMPLETE import parameter added for DECISION_NOTE.
According to new Note functionality, if the Note Justification is Required, we can use or not use the parameter DECISION_NOTE. It is working perfectly.
With Decision Note with Required justification attachment will create.
Without Decision Note, no Attachment will create.
But in case of Mandatory Justification in Note, it is always mandatory to write in the Note in case of execution by agent, otherwise it will not allow to complete the User Decision. But through this FM it is directly allowing to complete the step without passing anything to the parameter DECISION_NOTE.
It is not throwing an error. May be practically you are searching in production in technical log of workitem for Decision Note for Mandatory justification and you are not able to find out the attachment. Don’t get surprise , it is possible to complete the Descision Step with Mandatory justification without any Note from SAP_WAPI_DECISION_COMPLETE.
I'd like to ask one question:
How to pass comment note to parameter"DECISION_NOTE"?
For example: when approver click the reject button, he wants some justification like "The reason I reject is XXXXXX".
I know "DECISION_NOTE" is only a object key, so I guess it must be used with other Function as a combine.