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

Avatar

Avatar

nitinjl

Avatar

nitinjl

nitinjl

25-11-2019

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

958

Correct Answer

820

Avatar

Arun_Patidar

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

958

Correct Answer

820
Arun_Patidar
MVP

01-12-2019

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

Answers (2)

Answers (2)

Avatar

Avatar

Nee3j

Avatar

Nee3j

Nee3j

02-12-2019

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

Avatar

Avatar

nitinjl

Avatar

nitinjl

nitinjl

26-11-2019

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