cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

can I usecronstring generator in mashup?

jshah-3
1-Visitor

can I usecronstring generator in mashup?

I created a Thing with base Template as scheduler

The Thing has a menu option of "Configuration for scheduler Thing"

This option allows me to to enter the corn string

A popup opens up when I edit the schedule

Is possible to use that popup screen in mashup

so that the user can enter the schedule time thereby saving me from converting the date time to cronstring

Is it possible?

I have highlighted  the pop up (that I need to show on my mashup) in the attachment below

Thank you for any help

3 REPLIES 3
AnnaAn
14-Alexandrite
(To:jshah-3)

Hi Jugal Shah​,

As far as I know, this could not be used as a widget in mashup builder.

As an alternative, could you consider to set a cron string in a textbox widget in your mashup and pass it as an input parameter to your customized service?

In your customized service, you could author it like:

Please let us know if this is not meeting your case.

Thanks,

Br,

Anna

Hi Anna,

I think that what Jugal want's it's the easy Scheduler entry, as for a normal user will be hard to decipher CRON string codification.

And Yes Jugal the answer it's no, there's no easy way to generate a CRON string for normal user, but of course using mashups you can build your own CRON scheduler string generator. If you don't want to support all the CRON string features shouldn't be that hard.

Best Regards,

Carles.

jshah-3
1-Visitor
(To:jshah-3)

Thank you

will build up corn string

Announcements


Top Tags