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

Document ID : KB000087251
Last Modified Date : 14/04/2018
Show Technical Document Details
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#:


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

That works:

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

The WF fails with:

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

OS Version: N/A
Cause type:
By design
Root Cause: This is standard prompt behavior. There is no value set in the Script object.
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 :