Error when Set Asset in Orchestrator - Attempted to access an element as a type incompatible with the array

Hi All,

I am trying to set an asset (Boolean, currently = False), but when I run the set asset activity and I got this error -Attempted to access an element as a type incompatible with the array, System.ArrayTypeMismatchException

I have tried put both True and “True” (a string) as the input value of the activity, but keep getting the same error.

Would any of you know anything of this?

Appreciate your help!

@ianhyj

You need to specify the type also while providing the value for an assest. Try with Convert.ToBoolean(“True”) under the value field of set asset activity.

Let us know if this works for you.