Currently the document uploaded on the signature provider has the contract definition title as title. This is weird as for a course, all contracts will have the same name. In order to improve that we decide to built a specific title according to the current date, the related course and the order primary key.
YYYY-MM-DD_COURSE_CODE_ORDER_PK
On Lex Persona, each workflow steps have a validity period. We sets this one according to the settings JOANIE_SIGNATURE_VALIDITY_PERIOD but this setting is expressed in seconds and it appears Lex Persona expects a duration in ms. So as effect, the minimum validity period of Lex persona is used (which is 24h). Once this delay is reached, Lex Persona stops the related workflow and recipients are not able to sign until we restart the worfklow.
Furthermore, we decide to update the default JOANIE_SIGNATURE_VALIDITY_PERIOD to the max value accepted by Lex Persona which is 99 days.
Proposal
[x] Improve document title to sign
[x] Use ms as unit to set validity period in Lex Persona backend
[x] Use the max validity period accepted by Lex Persona as default value for the setting JOANIE_SIGNATURE_VALIDITY_PERIOD
Purpose
Currently the document uploaded on the signature provider has the contract definition title as title. This is weird as for a course, all contracts will have the same name. In order to improve that we decide to built a specific title according to the current date, the related course and the order primary key.
YYYY-MM-DD_COURSE_CODE_ORDER_PK
On Lex Persona, each workflow steps have a validity period. We sets this one according to the settings
JOANIE_SIGNATURE_VALIDITY_PERIOD
but this setting is expressed in seconds and it appears Lex Persona expects a duration in ms. So as effect, the minimum validity period of Lex persona is used (which is 24h). Once this delay is reached, Lex Persona stops the related workflow and recipients are not able to sign until we restart the worfklow.Furthermore, we decide to update the default
JOANIE_SIGNATURE_VALIDITY_PERIOD
to the max value accepted by Lex Persona which is 99 days.Proposal
JOANIE_SIGNATURE_VALIDITY_PERIOD