Skip to main content

Hello,

I have a question since I feel somehow that I am stuck at the moment.
The setup is a K2 Five Version 5.xx (Evaluation).

In a MSSQL Database exists a table “products”.
I created a Advanced Smart Object for this Table with the methods Read, Create, List, Delete, Update.

In the Management application - /Categories/…/ I can call the create method from the smart object. This is working fine, the new product appears in the database.



The Problem is:
If I create a workflow, which has two Steps, first the “Task” - approval step. 2nd the SmartObject Create Step.
 

Workflow



The new Product won’t be created in the database.
The Workflow completes without any error. In the Reporting from the Workflow the “Data Audit” shows me that all information from the Form are available in the Workflow.


 

Also you can see all paths are green which indicates that the WF finished successfully.


My question is, does anyone has an idea why the create method is working outside of a workflow but not within a workflow?

greetz


 

I guess found my “mistake”.
The problem was that I have switched up a field during the mapping in the Action “Start a Workflow”.


Now it is working :)

Take away: Do not haste the critical parts


Reply