Post

1 follower Follow
0
Avatar

Automatic Extension Step Renumbering

I was very pleased to see that CC performed automatic Step renumbering for the extensions, and also renumbered return to steps, so that

Main Success Scenario:

  1. Step A

  2. Step B

  3. Step C

Extensions:

3.a Step C extension

    1. System calculates something

    2. User returns to Step 2

Becomes, when a Step is inserted between 1 & 2

Main Success Scenario:

  1. Step A

  2. New Step

3. Step B

  1. Step C

Extensions:

4.a Step C extension

    1. System calculates something

    2. User returns to Step 3

BUT a little dismayed to find that CC increments any number in the Extension: like this

Main Success Scenario:

  1. Step A

  2. Step B

  3. Step C

Extensions:

3.a Step C extension

    1. System calculates factor as Revenue multiplied by 11

    2. User returns to Step 2

Becomes, when a Step is inserted between 1 & 2 (Note the multiplication factor!)

Main Success Scenario:

  1. Step A

  2. New Step

3. Step B

  1. Step C

Extensions:

4.a Step C extension

    1. System calculates factor as Revenue multiplied by 12   

    2. User returns to Step 3

See the 4.1 Step 1 multiplied has also increased by one from 11 to 12

I suppose it's is fairly obvious that it would do that, so maybe this is just a wrning to others not to use numeric digits in the extensions. I presume CC are aware of this issue?

Personally I would put up with a restriction such as having to use a certain format like User returns to Step-3 and be able to use numeric digits, but others may not.

Keith Matthews Answered

Please sign in to leave a comment.

3 comments

0
Avatar

Ah, good catch! Yeah, the renumbering looks for a trailing digit to update, as it presumes that'll be a step number.

Just an observation (and in no way is this meant to trivialize what's clearly an unexpected behavior) you MAY want to put the rules for these kind of calculation in a Requirement and reference it from the use case. The rationale is that 11 is a bit of a "magic number" that may be obvious too you but perhaps not to others. A business rule Requirement is a great place to put those rules with explanations of the source of those magic numbers. Just a thought; your mileage may vary.

 

Ron

Permanently deleted user 0 votes
Comment actions Permalink
0
Avatar

Ron, Just a simple example to illustrate the point, the main fact is that any numeric digit will update. It's easy to avoid once you are aware of it. Keith

Keith Matthews 0 votes
Comment actions Permalink
0
Avatar

Hi Keith,

As a workaround, CaseComplete will ignore the number if it's immediately preceded by a non-space character.  So for example, if you surround your number with quotes ("11") or preceed it with any character such as a number symbol (#11), CaseComplete won't auto number it.

Doug

Doug Earl 0 votes
Comment actions Permalink