Read Cron expression and extract trigger details values

Is there any activities in UiPath Studio to read cron expression and extract time schedule.

@Sonalk

We don’t have any activities to read Cron expression from Orchestrator.

Hello @Sonalk,

you can create a simple process to extract the data from the website, for example:

http://www.cronmaker.com/;jsessionid=node016cip5ssvpmfp12hcue3ewvtaw2456132.node0?0

Especially here:

@artur.stepniak : there is no issue of creating cron expression. Problem is to understand cron expression and take action to create queue item and adds postponed period (based on Cron expression schedule).

Fine

If you know the from expression then use the below steps to do as @artur.stepniak suggested

  1. Use a open browser activity and pass the url of the website of cronmaker

  2. Inside that scope use a type into activity and pass the cron expression you have as a string

  3. Then use a GET TEXT activity and get the description you get from there
    Based on which you can frame the conditions you need

And I feel like this method has very less feasibility as the input timing or the condition is not standard always because of which it will be tough to create the condition every time

So I would suggest to consider QUEUE TRIGGER so that it gets allocated automatically like once any queue item is added it gets triggered automatically

check for those feasibility

Cheers @Sonalk

@Palaniyappan :

For QUEUE TRIGGER so that it gets allocated automatically like once any queue item is added it gets triggered automatically —> Our objective is to decode cron expression and create queue item with postponed period (decoded trigger schedule).

Is it standard website to perform UI automation and extract cron expression? If yes, I will explore and share my findings.

Yes, you are correct. Condition or trigger schedule is not standard always. I am not able to create generalise logic to define triggers for performer bot.

Component name frequency trigger
Component A daily 15 min
Component B Weekly Mon, Fri (2 pm)
Component C daily 2 pm, 5 pm
Component D monthly 23rd (2 pm)
…Component N custom Mon-Thur( 2 pm, 5 pm), Friday (4 pm)

Dispatcher bot has to understand trigger column to create queue item as per schedule for performer bot to trigger.

That’s the reason to decode cron expression.

Yeah it is @Sonalk