Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Duration type field population through transform map

Shubham Bongulw
Giga Guru

Hi Community,

In my load data I have duration mentioned in hours for e.g. '7','3' etc.

In my target table, the field is of type duration and is shown as below-

ShubhamBongulw_0-1679913721402.png

 

The data that is in load data is getting populated in seconds field of duration. Is there anyway that i can populate this in hours field?

 

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Shubham Bongulw 

what does 7",3 mean?

can you share how it looks in excel or import set field?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hey Ankur,

I mean just a single digit like '7',etc. That means 7 hours. While importing it is going into seconds field.

Also they have provided values like - 1.5 hrs, 0.25hrs. How can i map these?

@Shubham Bongulw 

check these links

Import data into Duration type field 

How To Master The ServiceNow Duration Field 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader