Skip to content

ANALYTICS-6-1-6-v21.06 MODIFY RULES (PARAMETERS WITH OPTIONS) Step23 Value Comparison #101

@danboberton

Description

@danboberton

In ANALYTICS-6-1-6-v21.06 MODIFY RULES (PARAMETERS WITH OPTIONS):

  • step 20 Modify Rules(RulesEngine) modifies a duration value as such: <SimpleItem Name="Duration" Value="PT15M7S" /> .
  • step 21 Get Rules(RulesEngine) retrieves the duration value in seconds only: <tt:SimpleItem Name="Duration" Value="PT907S">
  • step 23 Fails:
 <StepResult>
            <Number>23</Number>
            <StepName>Check if GetRules returned Config item with Name = 'Duration' and correct value</StepName>
            <StepStart>2025-08-16T23:32:55.9716862Z</StepStart>
            <StepFinished>2025-08-16T23:32:55.9756926Z</StepFinished>
            <Message>GetRules did not return the required Config item</Message>
            <Status>Failed</Status>
          </StepResult>

It seems the rule parameter is undergoing literal comparison as opposed to value comparison. Altering our return value in terms of minutes and seconds to PT15M7S passes the test. I am not aware of any requirement that Durations be normalized. Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions