Answered

Case Numbering with data model's atributes

Hello Everyone,

Could anyone help me?

Can We create a case's numbering based in data model's attributes?For example : We need a numbering that will bring: The current

year + the current month + an information that will be save in an attribute in

the first task by the case creator.

-> Case Number: 201409INFRA

Is this possible?

Thanks in advance.

Best Regards

Best Answer
photo

Dear Mayra,

To customize your Case Numbers Bizagi offers two options:

  • By Sequences: You can define a sequence and customize a prefix and a suffix. A sequence is a counter incremented by a value defined by you each time a case is created.
  • By Rules: You can define the Case Number through an Expression, where you can perform calculations or validations and thus provide a more sophisticated definition.

For further information, please visit: http://help.bizagi.com/bpmsuite/en/index.html?customize_case_numbers.htm

Best Regards

photo
0

In BizAgi you can "calculate" the case number and assign it to a case as soon as the case is started or at the end of the "creation phase".

This is determined in the Case Numbering options.

You define the "creation phase" in the process model by putting a Milestone and setting its property "Type" to "Case Creation". The activities inside this phase can define attributes before the case is officially started.

During this phase you can modify a process attribute (not sure if you can do it with an entity attribute) which you can reference in the script to assign case numbers.

Hope this helps.

photo
0

Dear Mayra,

To customize your Case Numbers Bizagi offers two options:

  • By Sequences: You can define a sequence and customize a prefix and a suffix. A sequence is a counter incremented by a value defined by you each time a case is created.
  • By Rules: You can define the Case Number through an Expression, where you can perform calculations or validations and thus provide a more sophisticated definition.

For further information, please visit: http://help.bizagi.com/bpmsuite/en/index.html?customize_case_numbers.htm

Best Regards

photo
0

Jaime Contesse wrote:

In BizAgi you can "calculate" the case number and assign it to a case as soon as the case is started or at the end of the "creation phase".

This is determined in the Case Numbering options.

You define the "creation phase" in the process model by putting a Milestone and setting its property "Type" to "Case Creation". The activities inside this phase can define attributes before the case is officially started.

During this phase you can modify a process attribute (not sure if you can do it with an entity attribute) which you can reference in the script to assign case numbers.

Hope this helps.

photo
0

Jaime, I can't figure out how to modify and retrieve a Process Attribute from the business rule, since you do not have access to the XPath tool.

Would please provide a sample scrip to do this?

Many thanks in advance.

photo
0

Hello everyone

Please disregard my last post. I found that one can use function Me.Context.getXPath to retrieve the value of process scope attributes.

Thanks & Best regards