Executing a Process Template with Ajax

Top  Previous  Next

A Process Template defined in the MoreMotion configuration can be executed using the AjaxMgr.executeProcessTemplate() method as follows

  AjaxMgr.executeProcessTemplate({
    ,processTemplate  : 'ProcessTemplate1'
    ,validateInput    : true
    ,requestParams    : {ID:this.value}
    ,busyImage        : 'BI1'
    ,callbackFunc     : CallMeAfter
    ,userData         : {userdata1:data1}
    ,errorHandler     : MyErrorHandler
  }) 

 
See PMgr.executeProcessTemplate() in  MoreMotion Face API.