VMware Aria Automation Orchestrator action links do not show usage in Aria Automation 8.18.1 Update 4 and Update 5
search cancel

VMware Aria Automation Orchestrator action links do not show usage in Aria Automation 8.18.1 Update 4 and Update 5

book

Article ID: 452896

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

When you use an action as a line of code in a script element within a workflow, the action links do not show their usage. This issue results in workflow validation failures, as automated cleanup processes incorrectly identify the active actions as unused and delete them via API calls.

Environment

  • VMware Aria Automation 8.18.1 Update 4
  • VMware Aria Automation 8.18.1 Update 5
  • VMware Aria Automation Orchestrator

Cause

A regression was introduced via a recent regex update for scripting. The regex incorrectly interprets $ and \ as replacement metacharacters, which causes the entire workflow to be ignored during usage parsing.

Resolution

This issue is under review with Broadcom Engineering. Subscribe to this knowledge article to get updates on this issue.

Workaround:
To temporarily resolve this issue, do not use $ and \ directly in your scripts. Place them in variables instead by following these steps:

  1. Add a new Variable with the required string (for example, '$select=name') as its value.
  2. Add the variable as an input.
  3. Replace the JavaScript string with the newly created variable in your script.

After implementing these changes, "Find Dependencies" will begin working from the workflow, and "Find Usages" will function properly for the actions used inside.