Hi Alex:
I have a new problem again.
The version is 2020.1.2, I'm testing workflow features.
Reference:
https://blog.orbeon.com/2021/01/new-workflow-capabilities-in-orbeon.html
<
https://blog.orbeon.com/2021/01/new-workflow-capabilities-in-orbeon.html>
"1.Employees start to fill an expense report, and submit it, at
which point the stage becomes submitted."
"2.Managers can review expense reports with a submitted stage, and
use the Approve button to change the stage to approved, or the Reject button
to change the stage to rejected.
"3.If rejected, the employee can edit the form, submit it again,
which changes the stage back to submitted."
The first step is ok,the stage becomes "submitted" by the button ,
the button have set-workflow-stage() action, then I save/submit the form
data,then I enter the summary page, but when I open the form data again,
the stage is null.
I'm sure the stage becomes "submitted" because I added a control in
the form to display the value of the stage by fr:workflow-stage-value()
function,when I click the button the control value becomes "submitted",when
I open it again, the control value is null.
This is my problem.
So I read the document carefully,
https://doc.orbeon.com/release-notes/orbeon-forms-2020.1#workflow
<
https://doc.orbeon.com/release-notes/orbeon-forms-2020.1#workflow>
I see "The concept of stage is introduced at the database level ", so I
guess it's because the database I'm using is eXist, so I started deploying
the PostgreSQL database, but I don't see the 2020.1.2 version of DDL in
https://doc.orbeon.com/form-runner/persistence/relational-db#postgresql-database-setup
<
https://doc.orbeon.com/form-runner/persistence/relational-db#postgresql-database-setup>
This is another question.
Regards
Meimei
--
Sent from:
http://discuss.orbeon.com/