getOperationId
Gets the operationId of the current flow.
Details
Returns the operation identifier generated by the SDK in the current Flow.
Syntax
await provider.getOperationId();Description
Allows you to read the operationId from JavaScript once the SDK has generated it.
Considerations
The method is asynchronous; use await or .then(). You can also receive the value through the event emitOperationId.
Example
<facephi-sdk-provider apikey={process.env.FACEPHI_SDK_APIKEY} />
const operationId = await provider.getOperationId();Last updated