hi all,
I'm doing the server side auto numbering shown in this link on a created package and a created section
- my section is called returns
- my field that i want to make auto number is Code
"https://academy.creatio.com/documents/technic-sdk/7-15/how-add-auto-num…"
followed all the steps shown in screenshots and doesn't work ?
and here from the object file i opened the process and made this
with these configurations
Message:
conditional flow:
conditional flow formula:
Get entity schema to generate number:
Generate number and error icon :
Save number to entity column:
any sol please
thanks all
Like
Hello Ibrahim,
What is the name of the column in your returns object where the number will be stored? In the article on the academy website, it's using a column named "Code", but your column name is likely different, possibly something with a prefix in front of it, like maybe UsrCode?
You'll need to update the column name in two places:
- The conditional flow formula (replace "Code" with your column name)
- Save number to entity column (replace "Code" with your column name)
Also, it would be a good idea to verify the names of the process elements. The academy article assumes they are named "UserTask1", etc. Verify the following:
- The task titled "Generate ordinal number", verify it's name by clicking the three-dots icon on the top of it's properties, then select "Advanced mode" and there you'll find it's name in the "Code" field. You'll need to update the code in your screenshot titled "Get entity schema to generate number" with this name - replace "UserTask1" with this value, if different.
- Do the same with the "UserTask1" value in the code in your screenshot titled "Save number to entity column", if different.
Lastly, if it is still not working, please post the error you receive when you publish.
Ryan
Hi Ibrahim,
Could you please help me with what I am missing with the same implementation? I have created the post on it https://community.creatio.com/questions/event-trigger-issue
Thank you