Question


Pegasystems Inc.
JP
Last activity: 6 Jul 2018 6:00 EDT
Data Transform gets warning to set negative integer [7.3.1]
When I set a negative integer, like -1, to an integer property using a Data Transform, I get a warning "The source '-1' is ambiguous and is being treated as text. If it is a page, add it to the Pages and Classes tab."
Why -1 is treated as text? Is it expected behavior? If so, how can I set a negative integer using a Data Transform without getting a warning?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution


Pegasystems Inc.
JP
I will create SR for this.
Thanks you all for your comments.


Pegasystems Inc.
US
I tried this in-house, it gives the same warning message. However, you can still use it and provide justification. If possible, I will try to find out the reason for this and will update.


Areteans Tech
AU
I think Pega is confused whether to take -1 as string or as a page. try giving the value in double quotes and check ."-1".
-
Malathi Tummalapalli Edwin Hayes cmu ftb


Pegasystems Inc.
US
Yes, exactly. I tried with "-1". In this case, it is not giving a warning. But ideally, it should accept negative integers.


Areteans Tech
AU
if you try with +1 also you will get an warning, because "-" and "+" are a special character . for instance ID-1 , ID-2.


Pegasystems Inc.
JP
Hi,
Thank you for your comments. I did not get a warning with -1.0.
Accepted Solution


Pegasystems Inc.
JP
I will create SR for this.
Thanks you all for your comments.


Pegasystems Inc.
IN
Hi Jun,
Please let us know the SR# once created.
Regards,
-
Vamshi Krishna Gudipati


Pegasystems Inc.
JP
SR-C44812


Pegasystems Inc.
IN
Thank you!