As a SAM Agent I want a sorting job that sets "Next version" based on version field.

may13
Tera Contributor

Hello Team, please help me with the following requirement on how to write a script to include

 

Given I am a SAM PO 

When Version field is NOT NULL
Then I want

  1. A job running every night at 1
  2. Calling the script include
    1. Expected functionality:
      1. Take all SW Models with the same name 
      2. For each take "version" - Use regex to compare the xx.yyy.z Version syntax
      3. Sort them by version And in the sequence, put "Next version" Reference

 

6 REPLIES 6

Hello @may13 ,

 

In your requirement you stated that this is to be created as a Scheduled Job.

 

Regards,

Robert

Hello @may13 ,

 

Did this answer your question or do you need further clarification?

 

Regards,

Robert