Skip to main content
April 6, 2023
Question

PV not Getting Default Date and Time type value

  • April 6, 2023
  • 2 replies
  • 0 views

I have one rule which return date and time from now(). I have created PM and added one pv of date and time data type. In default value of pv, i am calling that rule.

Now, if we not select parameter checkbox of PV. it is saving default value from rule but, if we select parameter check box then default value is blank. This is happing with only date and time data type. why, it is happing ?  

    2 replies

    harshitb6843
    April 6, 2023

    IDK why this is happening but you can very easily handle it by using a script task. Just check for the value and if it is null, set the default value.

    nikhilmAuthor
    April 6, 2023

    Already, We handle it by script task but want to understand the logic behind it