Expand my Community achievements bar.

SOLVED

how to define/assign string[] type value in workflow launcher as condition

Avatar

Community Advisor

Hi All,

Requirement is -

1. User will assign a metadata tag to an asset.

2. Based on tag value (ie invokeExternalWorkflow) it should invoke a workflow.

I am able to invoke a workflow after defining condition something like as below

1858737_pastedImage_2.png

but in case of metadata tag, as tags are assigned as string[], not able to define condition in launcher

tried something as below, but no luck

1858738_pastedImage_4.pngor

externatag==publishtoexternalservice

AEM 6.4.2

Any suggestion please.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

It should work with externatag==publishtoexternalservice

I tried the same and working for me

Screenshot 2019-12-01 at 2.40.51 PM.png

Screenshot 2019-12-01 at 2.42.14 PM.png

Screenshot 2019-12-01 at 2.43.20 PM.png



Arun Patidar

View solution in original post

3 Replies

Avatar

Community Advisor

Hi

kautuk sahniVish.dhaliwalArun Patidar

Any thoughts on launcher condition, does it support string [ ] type of values ? if so, how could we define it.

Thanks,

NJ

Avatar

Correct answer by
Community Advisor

Hi,

It should work with externatag==publishtoexternalservice

I tried the same and working for me

Screenshot 2019-12-01 at 2.40.51 PM.png

Screenshot 2019-12-01 at 2.42.14 PM.png

Screenshot 2019-12-01 at 2.43.20 PM.png



Arun Patidar

Avatar

Level 1

Thanks Arun, not sure on the root cause, but after trying the same condition on vanila instance worked for me.