Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-14651

ScheduleBuilder does not have withProperties

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.3.4, 4.3.5, 5.1.1, 5.1.2
    • Fix Version/s: 6.3.0
    • Component/s: Docs, Scheduler
    • Rank:
      1|i00jk7:

      Description

      According to documentation example there is an ability to path a parameter to the triggered workflow from the workflow which initiates an event.

      https://docs.cask.co/cdap/4.3.4/en/developer-manual/building-blocks/schedules.html

      schedule(buildSchedule("onDataProcessingFail", ProgramType.WORKFLOW, "cleanupWorkflow") .withProperties(ImmutableMap.of("triggering.properties.mapping", ImmutableMap.of("cleanup_dir", "src")) .triggerOnProgramStatus(ProgramType.WORKFLOW, "dataProcessingWorkflow");

      But the interface ScheduleBuilder as well as it's implementationĀ DefaultScheduleBuilder have no this method.

      https://docs.cask.co/cdap/4.3.4/en/reference-manual/javadocs/co/cask/cdap/internal/app/runtime/schedule/DefaultScheduleBuilder.html

      When this feature will be implemented? Is it any other opportunity to path parameter to the triggered workflow?

        Attachments

          Activity

            People

            • Assignee:
              mikkin Mikkin Patel
              Reporter:
              Dmitrii Bogomolov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: