Guys, some help.
I need to create a new task in a given scheduler bucket. But the condition is...
if in plan "X" there is already a bucket with the name "STEP 1", only one task must be created in the bucket.
If there is still no bucket named "STEP 1", you must create the bucket named "STEP 1" and then create a task in the bucket.
My problem is in performing this check if the Bucket created already exists.
Can anyone help me?
Hi,
You can use the action called "List Buckets" and then filter the array on the name of the bucket you're looking for. After, use a Condition to check the Length of the Filtered Array - if greater than or equal to 1, you've found the bucket. If you haven't, then you need to create the bucket.
Does that help?
Cheers,
Rhia
I answer questions on the forum for 2-3 hours every Thursday!