Automation Event Trigger
Automation Event Trigger
We are not able to override hook "AutomationL.Trigger_CreateCommlog_start" event for automating our code by new patient's new appt creation(CreateApptNewPat). Please help us to achieve this.
Thank you.
Thank you.
Re: Automation Event Trigger
Sure, are you trying to override only the Create Commlog action when creating a new patient appointment, or are you trying to override all actions from the new patient appointment trigger?
Re: Automation Event Trigger
I am overriding only the CreateCommlog action.
Following two are the main problems we are facing -
* On CreateCommlog event trigger ,which event is triggered(newPatNewAppt/scheduled appt/completed appt) is not known.
* Also, the parameters received such as patnum, aptnum etc on event trigger, AptNum is 0 in case of scheduled and completed appointment and correct aptnum is received only in case of newPatNewApt.
Please resolve the above issues.
We are looking forward for the solution.
Thank you
Following two are the main problems we are facing -
* On CreateCommlog event trigger ,which event is triggered(newPatNewAppt/scheduled appt/completed appt) is not known.
* Also, the parameters received such as patnum, aptnum etc on event trigger, AptNum is 0 in case of scheduled and completed appointment and correct aptnum is received only in case of newPatNewApt.
Please resolve the above issues.
We are looking forward for the solution.
Thank you
Re: Automation Event Trigger
We can create a new hook that includes the trigger type for you. Are there any other parameters you would like us to pass in to the hook?
I'll look into why the AptNum is 0 in certain cases.
I'll look into why the AptNum is 0 in certain cases.
Re: Automation Event Trigger
For each time that I triggered an automation event for the CreateAppt and CreateApptNewPat triggers, the patnum and the aptnum were passed in properly. Can you detail the steps that you took where the aptnum was 0?
Re: Automation Event Trigger
Thanks , If you can pass triggertype in parameteres.
And yes i am getting zero AptNum in scheduled and complete procedcure event.
And yes i am getting zero AptNum in scheduled and complete procedcure event.
Re: Automation Event Trigger
Also, with which version of OD you are integrating the hook method?
Re: Automation Event Trigger
We will implement the hook in 18.4.
The ScheduledProcedure and CompletedProcedure are not designed to pass in the AptNum since they are concerned directly with procedures, not appointments.
The ScheduledProcedure and CompletedProcedure are not designed to pass in the AptNum since they are concerned directly with procedures, not appointments.
Re: Automation Event Trigger
I have added trigger type to the existing AutomationL.Trigger_CreateCommlog_start hook. It will be available in 18.4.14.
Re: Automation Event Trigger
Does it change impact the hook created from this post viewtopic.php?f=3&t=6831?
MOpenSoft
info@mopensoft.com
info@mopensoft.com
Re: Automation Event Trigger
It will not. Our plugin system is designed so that we can add new parameters to an existing hook without affecting other developers who are already using that hook.