Problem Statement: Repeater in Automation Step is not working as expected
Steps to Reproduce:
- Create variable customerid in Manage>Properties and set random digits from TDoD services and save the details.
- Create an Automation Layer from Home>Automation and assign a parameter (For example: Then I created customer ~customerid~)
- Create a decision block and click on add Automation Step.
- Call the Automation Layer, Object Type and Action.
- Set the parameter value customerid as customerid (which is created in Step 1)
- In the Repeater field give value >=2.
- Click on Ok and save.
- Go to Path Explorer > select any optimization method and start optimization
- Store all the paths and navigate to View Backup and select any paths.
- And click on Automation > Click on Re generate script.
Expected Outcome:Same step should repeat 2/3 times (based on repeater) with same customerid (created step 1 and called at step 5) parameter value.
For example:
Step1 created customerid = 12345
If repeater = 2
Then I created customer 12345
Then I created customer 12345
Actual Outcome:Each iteration it generates new random digits.
Step1 created customerid = 12345
If repeater = 2
Then I created customer 34566
Then I created customer 56778
Note: If user enters 1 in repeater section it uses the same customerid created at step1.
Step1 created customerid = 12345
If repeater = 2
Then I created customer 12345