Highlighted
Regular Contributor.
Regular Contributor.
494 views

Closure code populates to 1 - Successful for CreateChangeRequest in 9.4

Jump to solution

Hello Experts,

we are creating change request using webservice CreateChangeRequest on HPSM 9.4

In response of change requets we receive clouser code 1 by default when change got created.

How to set default value to null or empty.

We tried setting Allow NULL:Allow NULL:Allow null to true for cm3r and cm3t table using Tailoring => Tailoring Tools => Data Validation =>

in Field Name provide completion.code and set Allow null to true and Defaul to empty.

But it is not working HPSM9.4

Please help me to resolve this issue

Allow NULL:

 

0 Likes
1 Solution

Accepted Solutions
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Closure code populates to 1 - Successful for CreateChangeRequest in 9.4

Jump to solution

If you check the cm3r formatctrl record, there should be something like this in the Initial Expressions:

if (jscall("ProcessDesignerEnablement.isChangeEnabled")=true and null(completion.code in $file)) then (completion.code in $file=1)

You can remove that line or edit it to keep the field as NULL.

 

View solution in original post

2 Replies
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Closure code populates to 1 - Successful for CreateChangeRequest in 9.4

Jump to solution

If you check the cm3r formatctrl record, there should be something like this in the Initial Expressions:

if (jscall("ProcessDesignerEnablement.isChangeEnabled")=true and null(completion.code in $file)) then (completion.code in $file=1)

You can remove that line or edit it to keep the field as NULL.

 

View solution in original post

Highlighted
Regular Contributor.
Regular Contributor.

Re: Closure code populates to 1 - Successful for CreateChangeRequest in 9.4

Jump to solution

Thanks for your help, it resolved the issue.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.