Skip to Content

Input Parameter Non mandatory - asking for default value

Hi,

I have created an Input parameter for a plant (IP_WERKS) in a script view which is not Mandatory. I am currently on SPS11.

The system does not let me save without entering a default value for the input parameter.

Is there any value like '%' which i can enter in the default value and with no need to add any custom logic to be written inside the script view ?

If the front end system like PEGA sends the value of the Input parameter in their query as ' ' since its not mandatory, will it over write the default value '%' ?

Please advice ?

Thanks,

Gokul


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 26, 2016 at 10:38 PM

    If you are using the Input Parameter in any Filter clause or Calculated column, then the view will ask for Input parameter to be filled.

    You can use DEFAULT Value as '%' in the input parameter screen and then add a change like below to the filter clause than it will help in displaying "All" values:

    WHERE COLUMN = Input _Parameter OR Input _Parameter = '%'

    Regards,

    Krishna Tangudu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.