I was trying to develop LWC that retrieves Service Resource Id and pass it to Generate Appointment Invitation flow, which is called it from <lightning-flow> tag.
Salesforce help: Generate an Appointment Invitation URL
However, I passed two input variables the following, however got the error below.
flowInputVariables = [ { name: 'recordId', type: 'String', value: this.recordId, }, { name: 'InvitationURLPrefix', type: 'String', value: this.InvitationURLPrefix, }, ]; recordId is successfully passed from Parent LWC.
<template> <!-- Invoke a Screen flow in LWC --> <span> test2 {recordId} </span> <lightning-flow flow-api-name={flowApiName} flow-input-variables={flowInputVariables} onstatuschange={handleFlowStatusChange}> </lightning-flow> </template> I am not sure why this is not working, but I found the post similar to this: Lightning Web Component isn't available for Salesforce Scheduler Flow
Passing recordId value to flow debugging just works. Is this stillSo I suspect caling Scheduler Screen Flow is not workingworked from LWC?
