How to execute workflow step as per scheduler in AEM | Adobe Higher Education
Skip to main content
Level 3
October 28, 2018
解決済み

How to execute workflow step as per scheduler in AEM

  • October 28, 2018
  • 2 の返信
  • 4670 ビュー

Hi Team,

          I done customization in complete Work Item added Date Time picker.

As per given scheduler time I need to execute Approve step.

Thanks

Kotireddy Naru

このトピックへの返信は締め切られました。
ベストアンサー arunpatidar

https://aem.adobemarketingclub.com/scheduled-activation-workflows/

Have a custom workflow step that sets a workflow “metaData” with property name “abosluteTime” and value being the time in milliseconds  (calendar.getTimeInMillis()). This custom step can even use the On Time set on the page properties or use a custom dialog to capture date/time for activation depending on what you need

Screen Shot 2014-08-03 at 10.34.29 pm

b)  Have a participant step (could be called Waiting for activation), which could be assigned to admin user  and set the timeout handler to the OTB provided “Absolute Time Auto Advancer”  properties to the following

Screen Shot 2014-08-03 at 10.27.55 pm

The Absolute Time Auto Advancer times outs and advances to the next step automatically (which can be the Activate Page step) at the time provided in the absoluteTime property. Alternatively, you can write your own Timeout Advancer as well that works out of a page property directly.

2 の返信

arunpatidar
Community Advisor
Community Advisor
October 28, 2018

https://aem.adobemarketingclub.com/scheduled-activation-workflows/

Have a custom workflow step that sets a workflow “metaData” with property name “abosluteTime” and value being the time in milliseconds  (calendar.getTimeInMillis()). This custom step can even use the On Time set on the page properties or use a custom dialog to capture date/time for activation depending on what you need

Screen Shot 2014-08-03 at 10.34.29 pm

b)  Have a participant step (could be called Waiting for activation), which could be assigned to admin user  and set the timeout handler to the OTB provided “Absolute Time Auto Advancer”  properties to the following

Screen Shot 2014-08-03 at 10.27.55 pm

The Absolute Time Auto Advancer times outs and advances to the next step automatically (which can be the Activate Page step) at the time provided in the absoluteTime property. Alternatively, you can write your own Timeout Advancer as well that works out of a page property directly.

Arun Patidar
smacdonald2008
Level 10
October 28, 2018

Great response Arun!