summary: My parent flow description: My parent flow value: modules: - id: staleOrdersIteration value: type: forloopflow squash: false modules: - id: b value: type: rawscript content: | // import * as wmill from "windmill-client" export async function main(x: string) { return x } language: bun input_transforms: x: type: static value: Some logic here - id: logisticBranching value: type: branchone default: [] branches: - expr: flow_input.iter.value.choice === "green" modules: - id: c value: type: flow path: u/tojo2/subflow input_transforms: approvedItemsInput: type: static value: [] debugPayload: type: static value: itemList: [] deliveryTarget: "" requirePO: false orderRef: "" suspendOrder: false customShipping: false deliveryInfo: location: "" contactNumber: "" territory: "" roadway: "" nation: "" roadway2: "" contactName: "" zipCode: "" privateNotes: "" suppressAlerts: false enableVendorResponse: type: static value: false metaInfo: type: static value: [] orderDetail: type: static value: id: "" orderDate: "" orderRef: "" status: "" error_msg: "" error_source: "" created_at: "" deliverySpeed: "" updated_at: "" systemOrderId: "" fulfillmentMethod: "" vendorProfile: "" orderRequest: type: static value: orderDate: "" destination: city: "" name: "" state: "" country: "" address1: "" address2: "" address3: "" postalCode: "" phoneNumber: "" orderRef: "" products: [] requestType: "" facility: id: "" name: "" address: city: "" name: "" state: "" country: "" address1: "" address2: "" address3: "" postalCode: "" phoneNumber: "" vendor: id: "" name: "" scopes: null status: "" currency: "" shortName: "" websiteURL: "" clientLocation: "" clientName: "" deliveryDetails: transportSpeed: "" serviceProvider: "" clientTerritory: "" clientNation: "" clientRoadway1: "" clientRoadway2: "" channelName: "" expectedDispatchDate: "" clientZipCode: "" plannedDeliveryDate: "" outputItems: type: static value: [] responseReceived: type: static value: false vendorInfo: type: static value: currency: "" environment: "" stockAllocation: "" apiCredential: "" destinationCode: "" platformName: "" vendorOrderData: type: static value: itemList: [] deliveryTarget: "" requirePO: false orderRef: "" suspendOrder: false customShipping: false deliveryInfo: location: "" contactNumber: "" territory: "" roadway: "" nation: "" roadway2: "" contactName: "" zipCode: "" privateNotes: "" suppressAlerts: false summary: Choice = "Green" parallel: true skip_failure: true summary: "" iterator: expr: flow_input.staleOrders type: javascript parallel: false parallelism: type: static value: 10 skip_failures: false schema: $schema: https://json-schema.org/draft/2020-12/schema properties: staleOrders: default: [] type: array description: A list of stale orders to be replaying in the pipeline title: Stale Orders nullable: false fullReplay: default: false type: boolean description: Will override error status and perform a full replay of the order title: Override Order Status and Replay enableVendorResponse: default: false type: boolean title: Skip Replay and Reply to Vendor description: Skips the order reprocessing steps and replys to Vendor responseReceived:ived: default: false type: boolean description: "" required: - fullReplay - staleOrders type: object order: - staleOrders - fullReplay - enableVendorResponse - responseReceived