Send Notification Syntax

Hi,

There seems to be a discrepancies between the Administrator’s Guide and API guide when it comes to Send Notification groovy script events I was hoping someone could help clarify why that is.

Administrator Guide:
obj.sendNotification(“Notify On Incorporate”, false, sendToList, “Comments: send from Script handler”);

SDK Dev Guide- creating APIs:
session.sendNotification(agileObject,template,notifyList,urgent,comment);

There are two key differences:  One says “objects” at the start; the other says “session” at the start.  Also, the Boolean is swapped (true/false/urgent/not urgent part) for both.  When is the “agileObject” part required and when is it optional?

Is the second one incorrect? 

Thank you.

Add Comment
1 Answer(s)

I notice there are two definitions for sendNotification.  One in the IBaseScriptObj interface and one in the IBaseObjectScriptObj interface.  I pasted the parameters for both in your other post:
myagileplm.com/questions/simple-notification-script-px/

Agile Talent Answered on June 7, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.