Hi Martin

Thanks a lot.
I implemented this today and I see the workflow now in "My Workflows" with state PENDING and my username.
I can choose "approve request" or "reject request".
But I still don't see it in "My Tasks" as an outstanding Task. Why?

Regards
Stefan


Am 08.01.20 um 19:57 schrieb Martin Bartosch:
Hi,

And on which state is preferred to call set_creator?
Without having tested it myself, I'd put it in the INITIAL state:

     INITIAL:
         action: initialize global_map_url_params set_transaction_id 
set_workflow_attributes global_load_policy global_set_profile parse_pkcs10 
set_creator > PARSED

For example on state PENDING? Like:

PENDING:
     action:
           - reject_request notify_request_rejected global_set_error_rejected > 
FAILURE ? global_is_operator
           - approve_csr calculate_approval_points > RECHECK_APPROVAL ? 
global_is_operator is_manual_approval_allowed
           - global_clear_error_code > START_APPROVAL ? 
is_eligibility_recheck_allowed
           - set_creator
This does not work as it a) would create an additional alternative state 
transition via set_creator from PENDING and b) is not a valid configuration 
because it is missing the next state (> SOMESTATE)

Cheers

Martin



_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users



_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to