Need Answer

How to create case automatically everyday using timer start event ?

How to create case automatically everyday using timer start event ?

Comments (2)

photo
1

I tried with custom job as described here http://help.bizagi.com/bpm-suite/en/index.html?custom_jobs.htm

but there is an error :

Error Evaluating Rule CreateCase with id: 1f9f369a-6c62-4a7b-a2f6-42ff122eaf2d - Error Error Evaluating Rule CreateCase with id:

1f9f369a-6c62-4a7b-a2f6-42ff122eaf2d - Error Could not create a new process from rule. Unable to sort because the IComparer.Compare()

method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields

different results. IComparer: 'BizAgi.WFES.MultiInstanceTask+EntityComparator`1[BizAgi.EntityManager.Entities.BaseEntity]'. -Unable to sort because

the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another

value yields different results. IComparer: 'BizAgi.WFES.MultiInstanceTask+EntityComparator`1[BizAgi.EntityManager.Entities.BaseEntity]'.. -Could not create

a new process from rule. Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself,

or one value repeatedly compared to another value yields different results. IComparer:

'BizAgi.WFES.MultiInstanceTask+EntityComparator`1[BizAgi.EntityManager.Entities.BaseEntity]'..

BizAgi.Scheduler

at BizAgi.Scheduler.CJobRunner.ExecutePostStepRule(CJob oJob, Boolean isLastStep, Exception exStepFailure, OnEndStep onEndStep)

at LanguageExt.Either`2.Match[Ret](Func`2 Right, Func`2 Left)

at BizAgi.Scheduler.CJobRunner.ProcessJob(CJob oJob, LogSettings settings)

photo
2

Dear Ghemati,

To solve this issue, you need to use a start event like: Timer Start Event. Then, use a service task to invoke a web service through a rule (at http://help.bizagi.com/bpm-suite/en/index.html?invokingsoa_externalserv.htm) or inclusive a method to create the case using a rule.

For further information:

If the problem continues, please send us the following information:

  • Bizagi version

We look forward to hearing from you

photo