Designing and Running Pipelines
Discuss how to use the SnapLogic platform.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Converting String into Snowflake Datetime

Hello, I need to insert the string " 30/01/2024 00:00 'DD/MM/YYYY HH24:MI' " into Snowflake Timestamp_NTZ(9) column as " 2024-01-30 00:00:00.000 'yyyy-MM-dd HH:mm:ss.SSS' ". I tried the following with no success. Any help would be appreciated.1. Date...

Resolved! How to change XML file to exclude root tag

I have a pipeline that runs as a taks and in the end outputs a XML file, like the following example. But I need to get the XML file without the <content> tags. Any help how to achieve that?The XML output is:<content>     <soapenv:Envelope xmlns:StUF=...

maarts by New Contributor II
  • 554 Views
  • 3 replies
  • 0 kudos

Resolved! Expression solution for transformation

I have to transform documents that look like the following: [{ “Id”: 999, “field1”: “value1”, “field2”: “value2”, “field3”: “value3” } ] Into output like this. [{ “Id”: 999, “entity”: { “path”: “field1”, “op”: “replace”, “value”: “value1” } }, { “Id”...

Thom by New Contributor II
  • 1236 Views
  • 4 replies
  • 2 kudos

Converting date into epoch

Hello, We are calling an API that uses epoch date parameters. Is there a way to convert/parse UTC timestamps to epoch? I want to set a parameter startDate = Date.now() and in the GET POST query parameter, I want to call the startDate but parse it int...

Matt by New Contributor
  • 2501 Views
  • 2 replies
  • 2 kudos

Date Epoch Example

An epoch date is either the number of seconds or milliseconds since 1 January 1970 00:00:00 UTC. UNIX and other applications use seconds, while JavaScript uses milliseconds. SnapLogic uses JavaScript as its scripting language, so the epoch date is i...

aerthal by Former Employee
  • 4452 Views
  • 1 replies
  • 2 kudos