2 <type>I18N_OPENXPKI_WF_TYPE_CERTIFICATE_ISSUANCE</type>
3 <description>I18N_OPENXPKI_WF_DESC_CERTIFICATE_ISSUANCE</description>
4 <persister>OpenXPKI</persister>
5 <observer class="OpenXPKI::Server::Workflow::Observer::Debug"/>
9 resulting_state="WAITING_FOR_START">
13 <!-- this state is implicitly autostarted by the parent workflow -->
14 <state name="WAITING_FOR_START">
15 <action name="notify_parent_failure"
16 resulting_state="FAILURE">
17 <condition name="!valid_csr_serial_present"/>
19 <action name="determine_issuing_ca"
20 resulting_state="ISSUING_CA_DETERMINED">
21 <condition name="ACL::start_certificate_issuance"/>
22 <condition name="valid_csr_serial_present"/>
26 <state name="ISSUING_CA_DETERMINED" autorun="yes">
27 <action name="do_nothing"
28 resulting_state="CA_KEY_NOT_USABLE">
29 <condition name="!ca_key_usable"/>
32 <action name="do_nothing2"
33 resulting_state="CA_KEY_USABLE">
34 <condition name="ca_key_usable"/>
38 <state name="PREPARED" autorun="yes">
39 <action name="issue_certificate"
40 resulting_state="CERTIFICATE_ISSUED">
44 <state name="CA_KEY_USABLE" autorun="yes">
45 <action name="get_cert_profile"
46 resulting_state="PREPARED">
50 <state name="CA_KEY_NOT_USABLE">
51 <action name="continue_issuance"
52 resulting_state="CA_KEY_USABLE">
53 <condition name="ca_key_usable"/>
57 <state name="CERTIFICATE_ISSUED" autorun="yes">
58 <action name="persist_certificate"
59 resulting_state="SPAWNING_CERTIFICATE_LDAP_PUBLISHING">
63 <state name="SPAWNING_CERTIFICATE_LDAP_PUBLISHING" autorun="yes">
64 <action name="I18N_OPENXPKI_WF_ACTION_FORK_CERTIFICATE_LDAP_PUBLISHING_INSTANCE"
65 resulting_state="WAITING_FOR_CHILD">
66 <condition name="use_ldap"/>
68 <action name="notify_parent_success"
69 resulting_state="SUCCESS">
70 <condition name="!use_ldap"/>
74 <state name="WAITING_FOR_CHILD">
75 <!-- = notify_parent_success -->
76 <action name="child_finished_successfully"
77 resulting_state="NOTIFY_PARENT_SUCCESS">
78 <condition name="all_wf_children_instances_finished"/>
80 <!-- = notify_parent_failure -->
81 <action name="child_finished_failure"
82 resulting_state="NOTIFY_PARENT_FAILURE">
86 <state name="NOTIFY_PARENT_SUCCESS" autorun="yes">
87 <action name="notify_parent_success"
88 resulting_state="SUCCESS">
92 <state name="NOTIFY_PARENT_FAILURE" autorun="yes">
93 <action name="notify_parent_failure"
94 resulting_state="FAILURE">
98 <state name="FAILURE"/>
99 <state name="SUCCESS"/>