How to get all the scheduled workflows | Community
Skip to main content
Level 2
December 18, 2019
Solved

How to get all the scheduled workflows

  • December 18, 2019
  • 2 replies
  • 5462 views

Hi All,

 

I would like to know if there is a way to get like a report of all the scheduled workflows and if it is possible to know at what time as well. I tried to use the "Workflows in waiting state" schema but I realize that workflows that uses an "external signal" are also coming and I dont want them on the report.

 

Thanks for your help

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonathon_wodnicki

Hi,

 

Look for @2498346=Started and data contains '<schedule'.

Time would be @nextProcessingDate.

 

Thanks,

-Jon

2 replies

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
December 18, 2019

Hi,

 

Look for @2498346=Started and data contains '<schedule'.

Time would be @nextProcessingDate.

 

Thanks,

-Jon

Abraham92Author
Level 2
December 18, 2019
It is working fine, thank you! and one more thing the value @nextProcessingDate doesnt say if the workflow runs daily,weekly,etc. I wanted to have the information of the schedule activity for instance : Triggering at 2:00:00 AM, Daily ... is there any way to do that ?
Sourav_Sadhu
Level 2
December 19, 2019

I have similar type of requirement very recently.
Two attribute can help you. Go to xtk:workflow and apply filter on column Status (@state) = 'Started' and in output you can have workflow internal name, label and Next processing (@nextProcessingDate) to check the desired result. Please note you will get the workflow name where you are running this query as well, because this workflow will be in started, hence you can exclude this wf.