Error while calling Workflow APIs remotely
I have standalone workflow engine. I have created views and workflow packages in another databases. These packages are calling workflow APIs internally using DB Link. I call these packages inside Powerbuilder. I start process from the PowerBuilder, process started successfully. User responded to the notification by logging into powerbuilder, it is also successful.
But when user responds to last notification to END the process, I am getting following error:
ORA-02074: cannot ROLLBACK in a distributed transaction
ORA-06512: at "OWF_MGR.WF_ENGINE_UTIL", line 1263
ORA-02074: cannot SET SAVEPOINT in a distributed transaction
Is it wrong to call Workflow APIs remotely ? Any solution ?
Regards