Hi, I am currently developing a Temporal for one of a microservice on my work.
When I start the microservice and start the worker, everything went well and it is said worker is successfully created with bundled path to workflow definition.
But when I trigger the workflow execution, it throws error like this on my service’s terminal output
2023-06-21T01:14:26.227Z [ERROR] Failed to activate workflow {
namespace: ‘loan-transaction’,
taskQueue: ‘LOAN_TRANSACTION’,
workflowId: ‘AHCIA06120118048EC4C-017d340d-6cbd-4e3b-8e3e-647cb48f2622’,
runId: ‘b14f5e1d-88f1-4502-be96-3a34305bda30’,
workflowType: ‘workflowName’,
error: /workflow-bundle-3a5aa1c9b164f7a08aa7.js:3071
throw new common_1.IllegalStateError(‘Workflow uninitialized’);
^
IllegalStateError: Workflow uninitialized
any idea or pointers why this error is happening?
for additional context: i am using @temporalio Typescript SDK version 1.5.2
thank you