(action-allowed? process-definition case action)
Returns true if the given action has all data dependencies satisfied, otherwise false.
Returns true if the given action has all data dependencies satisfied, otherwise false.
(actions-performed process-definition case)
Returns all actions that were performed on a case
Returns all actions that were performed on a case
(actions-performed-by-role process-definition role)
Returns all actions that a role performs.
Returns all actions that a role performs.
(actions-that-require-data process-definition data)
Returns all actions that has a dependency to a given data.
Returns all actions that has a dependency to a given data.
(add-data case key value)
Adds data to a case and commits it. Same api as clojure.core/assoc.
Adds data to a case and commits it. Same api as clojure.core/assoc.
(all-actions process-definition)
Returns all actions in a case-model.
Returns all actions in a case-model.
(case-has-data? case data-key)
Returns true if the given data node exists regardless if it is committed or not.
Returns true if the given data node exists regardless if it is committed or not.
(case-has-uncommitted-data? case data-key)
Returns true if the given data node exists on the case and is uncommitted
Returns true if the given data node exists on the case and is uncommitted
(data-prereqs-for-action process-definition case action)
Returns data nodes that are required by action nodes. Conditional requirements are included if and only if the conditions are true.
Returns data nodes that are required by action nodes. Conditional requirements are included if and only if the conditions are true.
(data-produced-by-action process-definition action)
Returns all datas that a given action produces.
Returns all datas that a given action produces.
(has-committed-data? case data-key)
Returns true if the given data node exists and is committed
Returns true if the given data node exists and is committed
(invalidate-action process-definition case action)
Uncommits the data produced by the specified action, and then recursively performs the same procedure on all actions that require the data produced by the specified action.
Uncommits the data produced by the specified action, and then recursively performs the same procedure on all actions that require the data produced by the specified action.
(next-actions process-definition case)
(next-actions process-definition case role)
(test-process)
test graph for unit testing purposes, does not make sense really, but is simple.
test graph for unit testing purposes, does not make sense really, but is simple.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close