Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Sending an eMail text message on completion of a workflow step.
Mahmoud_Dayeh_(ecead_mad_(Delete)_2045359)
I am trying to write code in SDK LL900 to send an email message on completion of a work flow step. Kindly let me know which ospace i should work with and which object i should orphan. I have tried the following and come up with the error as stated below. This piece of code i have inserted in the GeneralCallbackScript as i am given to understand all code to do with workflow get triggered from here.DetailsOspace name - mydcaospace (i work here)Objects Orphaned - SOVMgmt.UtilsThe code i have written is this.... (its in the GeneralCallbackScripts Object)Function Dynamic SendEmail( \ Object prgCtx, \ WAPIWORK work, \ Integer workID, \ Integer subWorkID, \ Integer taskID, \ Integer returnSubWorkID, \ Integer returnTaskID, \ Dynamic extraData = Undefined ) Dynamic retVal Assoc checkVal checkVal = $DCAUtils._MailMessage ( 'frank@ecead.co.ae', 'Test Mail', 'ecnt', 'Test mail from Frank', 'text/plain' ) if !checkVal.ok // There was a problem in sending out the mail. checkVal.ok end return( retVal )endThe problem is this.......When i debug this script that i have written, control gets stuck at the statement below starting with..checkVal = $DCAUtils._MailMessage ( 'frank@ecead.co.ae', ............
Find more posts tagged with
Comments
There are no comments yet