I would like to be able to have a system config property of LastRunDate that everytime my IPA runs, I update that field that persists between workunits. How do i save this date to either some kind of process definition variable or system config property or possibly, can I query landmark on process AP010QS, get the last workunit and get a datetime that it ran a specific activity, whats the best approach.
On the other hand, if you don't want to have to store the value, I suppose you could query PfiWorkUnit based on the FlowDefinition to get the last time the flow started or finished. If you aren't purging activities, I suppose you could query PfiWorkunit joined to PfiActivity using the Workunit and ActivityName (which is the node ID) to get when that specific node was processed last.
Typically we use the config properties right in SQL / email /assign nodes by calling it like this . I just wasn't sure how to EDIT/UPDATE them, ill try the LANDMARK Node and let you know.
ex.