Job prompt’s “Uppercase” checkbox can enforce max length requirements of the prompts data type when added as a Component to a Process Flow.

Document ID : KB000087895
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
N/A

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:
  1. Create a data type and select the “Upper Case” checkbox and give it a Max Length of 1
  2. Create a Job that uses that data type in a prompt but do not select the “Uppercase” checkbox.
  3. Create a Process Flow with the Job created in step 2 as a Component.
  4. Add a prompt to the Process Flow and select the “Uppercase” checkbox.
  5. On the Component of the Process Flow update the default value for the prompt as ‘#1’ and save the Process Flow.
  6. Go back to the Job and edit the prompt and select the “Uppercase” checkbox and save the changes.
  7. 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.

Workaround:
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.
Cause:
Cause type:
By design
Resolution:
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Additional Information:
Workaround :
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.