Open topic with navigation

TIBCO iProcess® Engine 11.9.1

# Example

This example tidies up the instances of a procedure called HIRING. The procedure’s id is 1317. The procedure is defined on a machine whose machine id is 1:

    swadm tidy_instances 1 1317

This means that if the `PROC_VER_NUM_INSTANCES` value is set to 3 and the procedure called HIRING has the following versions and instances:

Version | instance_id
0.0 | 1
0.0 | 2
0.0 | 3
0.0 | 4
0.1 | 5
0.1 | 6
0.1 | 7
0.2 | 8

then the following instances will be removed (displayed in red) after the swadm tidy_instances command has been run:

Version | instance_id
0.0 | 1
0.0 | 2
0.0 | 3
0.0 | 4
0.1 | 5
0.1 | 6
0.1 | 7
0.2 | 8

Note that:

| • | The `PROC_VER_NUM_INSTANCES` attribute relates to all old instances of a procedure. Each procedure instance is allocated an instance identifier. Each time a new instance is created the instance identifier is incremented by one.

| • | If you were to perform a further edit on version 0.2 of the procedure HIRING then this would result in the following instance being removed (displayed in red):

Version | instance_id
0.0 | 3
0.0 | 4
0.1 | 5
0.1 | 6
0.1 | 7
0.2 | 8
0.2 | 9

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine

Copyright © 1994-2024. Cloud Software Group, Inc. All Rights Reserved.