VMware Cloud Community
ghaithsultaneh
Contributor
Contributor
Jump to solution

create a counter to be one week valid

Hi all,

i want to create a counter in vro and i want to store its value somehow for one week .

i don't want to create a table in the DB plugin to store the counter value , because i want to use this counter multiple times in multiple workflows .

thanks

0 Kudos
1 Solution

Accepted Solutions
eoinbyrne
Expert
Expert
Jump to solution

You could store the value in a

- ConfigurationElement

- ResourceElement

- as an attribute on the workflow (if the workflow was going to suspend for a week say)

There is script support for all of these options - take a look in vroapi.com

pastedImage_0.png

It's quite easy to code this up

View solution in original post

0 Kudos
2 Replies
eoinbyrne
Expert
Expert
Jump to solution

You could store the value in a

- ConfigurationElement

- ResourceElement

- as an attribute on the workflow (if the workflow was going to suspend for a week say)

There is script support for all of these options - take a look in vroapi.com

pastedImage_0.png

It's quite easy to code this up

0 Kudos
ghaithsultaneh
Contributor
Contributor
Jump to solution

thanks for your reply.

can you provide me a script how to store the the value of the counter in configuration element

0 Kudos