06-04-2012 06:14 AM
06-06-2012 06:50 AM
06-06-2012 07:38 AM
06-06-2012 08:05 AM
By "state" I mean a business state, something that can be shown to the user (like "open", "processing", "closed", "waiting") and can be managed automatically by the engine - just as setting a process variable.
As said, it is related to business and I imagine it might be handled/modeled with process variables but if there is a better way please point it to me.
Am I wrong or missing anything here? Maybe there is a third way to go and get variables and process data altogether just in one query for all process instances ?
06-06-2012 08:46 AM
From my point of view a process might end in different business states ("resolved", "rejected", "not applicable").In any case, I think that managing business process data with Historic service interface might be not so direct.Am I wrong or missing anything here? Maybe there is a third way to go and get variables and process data altogether just in one query for all process instances ?
Why would you need the state of the finished processes? Aren't they by definition 'ended'?
If you only need the runtime processes, than you could use a variable query. If you want to query the variables + load a process instance, you'll probably need a custom SQL query to do that.Is this the only way? No way through runtimeservice or historicservice interfaces?
06-07-2012 01:11 AM
From my point of view a process might end in different business states ("resolved", "rejected", "not applicable").In any case, I think that managing business process data with Historic service interface might be not so direct.
Is this the only way? No way through runtimeservice or historicservice interfaces?
06-07-2012 03:54 AM
From my point of view a process might end in different business states ("resolved", "rejected", "not applicable").In any case, I think that managing business process data with Historic service interface might be not so direct.
If it is about the end states, you could simply give them another name. The name of the end state is saved directly in the historic process instance.
But when you want to combine both historical and runtime in one query, then you would need to define a new custom SQL query in your own ibatis mapping.Can you suggest/point me to some examples?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.