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.

Using same PromptSet in Task within Workflow and in the Workflow results in U00003900 invalid value error


Article ID: 87251


Updated On:


CA Automic Workload Automation - Automation Engine


Error Message :
U00003900 Error in object '#SCRI.PRPT.1' (RunID '0001556114') prompt '#PRPT.YES.NO': Invalid value

Using the same promptset in a task in a workflow and in the workflow itself results in an error message similar to the one above.


A simple workflow (WF) with a promptset is created, where one can chose YES or NO, the selection is stored in variable &YES_OR_NO#:


<Please see attached file for image>


The WF contains one script that just prints out &YES_OR_NO#, the script contains NO promptest:

<Please see attached file for image>


That works:

<Please see attached file for image>


Now the same promptest is added to the script as there is in the WF:

<Please see attached file for image>


The WF fails with:

U00003900 Error in object '#SCRI.PRPT.1' (RunID '0001556114') prompt '#PRPT.YES.NO': Invalid value

<Please see attached file for image>



Cause type:
By design
Root Cause: This is standard prompt behavior. There is no value set in the Script object.


OS Version: N/A


There are 3 possible solutions to this issue:
  1. Use only the second PromptSet. Set "Request User Input" for the task, so the prompt of the task will open as well.  See the documentation referenced below for additional information about the "Request User Input" option.
  1. Set a default for the prompt of the task and the task will take the default.  For additional details see the documentation referenced below.
  1. Use the variable of the workflow as a default for the task to inherit the entered value. 

Fix Status: No Fix

Fix Version(s):

Additional Information

Workaround :


1558693593994000087251_sktwi1f5rjvs16m9x.png get_app
1558693592217000087251_sktwi1f5rjvs16m9w.png get_app
1558693590302000087251_sktwi1f5rjvs16m9v.png get_app
1558693588462000087251_sktwi1f5rjvs16m9u.png get_app
1558693586625000087251_sktwi1f5rjvs16m9t.png get_app