You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to pass a function to "trigger" property, that will be called with slotId. Similar to what is available for oozieExternalService properties.
functiondeliverAbTrigger(slotId){varscheduledTime=slotId.getScheduledTime();// If slot time after 8 AM: depend on same day DELIVER workflow// If slot time before 8 AM: depend on previous day DELIVER workflowvarhour=scheduledTime.getHour();vardeliverWorkflowShift=(hour>=8) ? 8-hour : -1*hour-(24-8);// Define trigger based on slot scheduled timereturnoffsetTrigger(deliverWorkflowShift,successTrigger(ID+"-"+DELIVER))}
The text was updated successfully, but these errors were encountered:
It would be great to be able to pass a function to "trigger" property, that will be called with slotId. Similar to what is available for oozieExternalService properties.
The text was updated successfully, but these errors were encountered: