Visibility layer actions based on value in feature
We can set visibility of a result action based on user and groups. It would be nice to be able to set the based on a value in a field of the feature. The user case for me is that sometimes I want to start a certain workflow based on a value inside a feature.
-
Maybe you got this working. If not, you may be able to configure this by editing the command in VSW within the result details configuration. You can use an arcade.run command along with the canExecuteScript arguement to use conditional logic to determine which features will show the result action.
The below example is a bit different from your use case. It's disabling the result action (a workflow), based on whether the feature includes certain fields. If the fields are present (Facilityid, ChildAssetNo, etc.) for the result, the result action is shown, otherwise it's hidden.

So, it might take some trial and error to write an arcade script to check the value of a field. The script should return either true or false. If true, the action is enabled, if false, it's disabled. If that works, you're all set. If you want to hide the result action completely, make sure the ‘hide when disabled’ checkbox is checked.
0 -
Hi Zorba Conlen,
Thank you for your response. I hadn't gotten this working yet, but thanks to you, I do now!0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer