Dynamic ID’s are used to capture relationships between scripts so that data dynamically generated in one script can be used in a later script.

Simple Example

A user create a business partner in the recording. The business partner number created is number 123. The same user (or another) at a later point in time creates a new sales order for the customer 123. During the playback (due to issues with sequencing and number range buffers), the same business partner 123 may not be created by the same script. Instead, in the playback, the business partner 124 is created. Dynamic ID’s are leveraged to ensure that the second script to create a sales order is done for customer 124 rather than 123.

Dynamic ID Types

A dynamic ID can be of two types – (1) A producer or (2) a consumer. A producer is the step that generates the unique number / identifier. A consumer is a step that make use of the value from a previous producer. Various scenarios exist such as:

  • A consumer cannot exist without a producer
  • There can be many consumers of a producer
  • A producer sciprt (or step) can also be a consumer (but these will be separate linkages)
  • Consumers can exist within the same script as a producer

An example of the new investigate screen showing these dynamic ID’s is shown below:

Linkage Type - User Preferences

When investigating a dynamic ID linkage, keep in mind whether you are looking at a producer or a consumer (it is made clear in the linkage list). Additional grids in the right hand side of the screen show you the consumer(s) (if you are looking at a producer). It also shows you other producer or consumers in the same scripts or later ones. You are able to see the status of the producer scripts (did they complete successfully or not).

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment