WFG Request Number customization


#1

As i know Request number is generated by wfg internally,
But what if i want to have a custom request number?

Let’s say if i have designed a process called Leave Form Approval,
and what i want is the Request # will be shown as LFA001, LFA002 and so on.

Does wfg support this feature?

Thanks for help


#2

Hi @wfgtest,

You cannot change the ID of a request but what you can do is create a process data that represents the custom request ID.

In code behind, you can retrieve the number of requests in a process using either GraphQL or ADO.NET and then store that number + 1 in the custom request ID data. ( + 1 to increment the number of the latest request ID)

Regards,
Eddy.