Error Message :
A Job prompt’s “Uppercase” checkbox will enforce max length requirements of the data type used by the prompt when the Job is added as a Component of a Process Flow. This may impact being able to change the default prompt to use replacement values or numeric substitution variables that will exceed that length even though when the job runs the value of those replacement values or numeric substitution variables may not exceed the max length.
Here are the basic steps to reproduce this issue:
- Create a data type and select the “Upper Case” checkbox and give it a Max Length of 1
- Create a Job that uses that data type in a prompt but do not select the “Uppercase” checkbox.
- Create a Process Flow with the Job created in step 2 as a Component.
- Add a prompt to the Process Flow and select the “Uppercase” checkbox.
- On the Component of the Process Flow update the default value for the prompt as ‘#1’ and save the Process Flow.
- Go back to the Job and edit the prompt and select the “Uppercase” checkbox and save the changes.
- Go back to the prompt of the Component of the Process Flow and attempt to edit the default value of the prompt. The prompt value will change to ‘#’ and you will be unable to add anything longer than 1 character due to the Max Length of 1 specified in the data type.
This behavior is as designed. The corresponding part in the Documentation will be enhanced.
If the data type used by the prompt has the “Upper Case” box checked already, then uncheck the “Uppercase” checkbox on the Job's prompt since the prompt will already be upper cased. When the Job is used as a component within a Process Flow you will be able to enter a variable that is longer than the max length specified by the Job prompts data type.