In DSS Scheduled Workflow, I am trying to create a schedule where Triggered By : Data Availability.

image


I am able to do only below FIXED TIME trigger only: I would like to set Triggered By Data Avaiability:

{

"Name": "IBMN-EOD",

"TimeZone": "Coordinated Universal Time",

"Recurrence": {

"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.Schedules.WeeklyRecurrence",

"Days": [

"Monday",

"Tuesday",

"Wednesday",

"Thursday",

"Friday"

]

},

"Trigger": {

"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.Schedules.TimeTrigger",

"LimitReportToTodaysData": false,

"At": [

{

"Hour": "03",

"Minute": "0"

}

]

},

"ListId": "0x0738d4ccb076cd21",

"ReportTemplateId": "0x0738d4e52486cd21"

}


Best Answer

Answers

  • Thank you, Jirapongse.I am able to create a schedule based on Data Availability. However, the article talks only about .P trigger<Use initial end of day prices >.

    How about .E file trigger which mean<Use validated end of day prices >. If I want output file triggered based on Validated End Of Day Prices?

  • @Beera.Rajesh

    You need to add "IsErrorCorrected" in ExtendedTriggerInformation for "Use validated end of day prices". Below is the sample.

    {
      "Name": "eodTriggerZ",
      "TimeZone": "Central Standard Time",
      "Recurrence": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.Schedules.SingleRecurrence",
        "ExtractionDateTime": "2020-08-24T00:00:00.000Z",
        "IsImmediate": false
      },
      "Trigger": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.Schedules.DataAvailabilityTrigger",
        "LimitReportToTodaysData": true,
        "ExtendedInformation": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.Schedules.EndOfDayExtendedTriggerInformation",
          "IsErrorCorrected": true,
          "IsDelta": false
        }
      },    
      "ListId": "{{listId}}",
      "ReportTemplateId": "{{reportTemplateId}}"
    }

    image