ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

[AWA] JSON variables requires # (pound) as suffix, is it allow to remove it

book

Article ID: 111960

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

This is a screen shot of a POSTMAN API call (for example to develop an Automic workflow that will allow Jenkins to control via API).
The problem is that it seems for the variables to be passed in to the Automic objects via prompt sets, it has to append an "#" on each one (see screenshot).
This will complicate getting data from Jenkins and also passing the data on to Ansible Tower. Is there a way to configure the prompt set so the "#" is not required?

<Please see attached file for image>

User-added image

Environment

CA Automic Workload Automation
 

Resolution

Please be informed that AWA does not required variable to ended with "#", register a variable without "#" is possible.
In your case, I believe you can go to the promptset design and remove "#" in the box Variable Name for all elements of your promptset (see screenshot below).
Then the variable name to use does not end in "#" anymore (but then you have to modify your script & task to adapt with the new name).
 

<Please see attached file for image>

User-added image

Attachments

1558697165468000111960_sktwi1f5rjvs16iug.png get_app
1558697163496000111960_sktwi1f5rjvs16iuf.png get_app