X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/40acf3027cd594e48486729285eb7a34379078f9..b3b52f5b0ad754fd9036f816d0ab8e98a5373f40:/profiles/photo/workflows/order_workflow/definition.xml diff --git a/profiles/photo/workflows/order_workflow/definition.xml b/profiles/photo/workflows/order_workflow/definition.xml new file mode 100644 index 0000000..c72c600 --- /dev/null +++ b/profiles/photo/workflows/order_workflow/definition.xml @@ -0,0 +1,245 @@ + + + + + Authenticated + + + Access contents information + Delete Owned Objects + Manage properties + Modify portal content + View + + + Manager + Owner + + + Manager + + + Manager + + + Manager + + + Manager + Owner + + + + + + + + + + + + + + + + + + Manager + Owner + + + Manager + + + Manager + Owner + + + Manager + Owner + + + Manager + Owner + + + + + + + + Payment accepted by the bank + + + nothing + + + + The customer has canceled the order from payement site. + + + nothing + + + + Payment refused by the bank. + + + nothing + + + + + + nothing + + + + Cancel + + Manage print orders + + + + Printing list + + Manage print orders + + + + Manual payment + + Manage print orders + + + + Notify done + + Manage print orders + + + + Notify sent + + Manage print orders + + + + The last transition + + + transition/getId|nothing + + + + + + The ID of the user who performed the last transition + + + user/getId + + + + + + Comments about the last transition + + + python:state_change.kwargs.get('comment', '') + + + + + + + + python:scripts.sendNotificationEmail(state_change) or state_change.kwargs.get('email_sent', []) + + + + + + Provides access to workflow history + + + state_change/getHistory + + + Request review + Review portal content + + + + Time of the last transition + + + state_change/getDateTime + + + + + + + + + + + + + + + + + + + + +