A Default Value cannot be set to an Enumeration using BPE
Hi All,
We have noticed that setting a default value using a BPE workflow to a field that gets its values from a fixed database enumeration, is not possible as it gives an error.
Ex: Automatic Payment Authorization field in Supplier → Invoice → General tab.
Is this a bug in the standard application or are we missing something? Help!
TIA
Page 1 / 1
What error do you get ?
Also can you share your BPMN Model.
Trying to replicate what you’re doing with Automatic Payment Flag, this seems to work just fine ?
Here’s an example:
Whenever you click , it properly fetches the Automatic Pay Flag to the appropriate value:
Just keep in mind you must record the variable as written in the enumeration, not the DESCRIPTION of the enumeration (so you record it as “AtFinalPosting”, not “At Final Posting”)
Thanks so much for looking into this @SimonTestard! We will try the above and let you know.
This error happens when the server cannot serialize the data to be sent to the client.
A common cause is that one attribute's length exceeds the defined maxlength in the projection.
To find more info, open Log Window or Debug Console, refresh and then check Network Tab in DevTools. In the response there can be more detailed information about the exception.
Error details: N/A
Unfortunately, it looks like I cannot attach the model file here. Tried drag and drop and also the attach option. I think it's due to the file type.
@SimonTestard My colleague just confirmed that he was able to get it to work by removing a step as you had suggested.
“No need to Register Process Enrichment Variables as AutomaticPayAuthFlag is already registered through the Default Method"
Thank you so very much!
Hi @Sudara ,
What is the reason for this error?
The overwrite is done using the same value with the same variable name, why does the size of the request getting bigger and generating size error?
“
This error happens when the server cannot serialize the data to be sent to the client.
A common cause is that one attribute's length exceeds the defined maxlength in the projection.”