Decisions : How to work with TimeSpan DataType

Decisions : How to work with TimeSpan DataType

Comments

  • Unknown
    edited November 2023

    Hi Team,

    Do we have any data structure in Decisions that only sets up TimeSpan, similar to TimeSpan structure in C#?
    I tried to use data structure TimeSpan but this sets value of field in DateTime format as highlighted below:

    I am doing integration with one of the application in .Net and source data contains field of TimeSpan.
    Let me know if any additional details required for the same.

    Thanks.

  • Hi,

    Please find attached code sample JSON I am posting and workflow.
    Request is getting processed in below sequence.
    Passing value of type TimeSpan is getting converted to DateTime at decisions end and that causes issue when sending that field back to .Net application.

    {
    SessionId":"NS-47ac455d-074a-11e8-80d1-005056a212ac"

Sign In or Register to comment.