Answered

How to save the entity data on enter?

Even though the elements of entity are assigned "on Enter", it seems only showing "Form", and actual values are only saved activity is completed. I need to save entity "on Enter". Is there a way to save entity data "on Enter" of the activity?

Thanks,

Satoshi

Comments (4)

photo
1

Dear Satoshi,

The only way to be saved the data into a database is clicking on "Next" button because the data will be stored temporally in scopes. Bizagi is a collaborative tool that allows many users to work in the Work Portal on the same process at the same time, in parallel activities. To ensure the integrity of the information, Bizagi uses a concept called Long-term transactions. This is an essential technology used when many people work on a project simultaneously, to prevent different users editing (overwriting) the same data. In Bizagi this technology is called Scopes.

Think of the Scope as a temporary memory storage that ensures the information is saved and remains as the end user enters it, but is not reflected in other opened activities of the same process, until Next is clicked; this is when it is finally persisted.

In the event that the user clicks Save, the information will remain in the Scope of the activity and not in the database.

When Next is clicked, the information entered will persist in the database and thus, be available for all other opened activities and for the next pending ones in the process flow.

For further information: http://help.bizagi.com/bpmsuite/en/index.html?scopes.htm

Best regards

photo
2

Juan,

Thank you for responding to my question. You have explained what I have already stated that it only saves upon the completion of the activity. Let me re-state my question, my question was "Is there a way to save entity data with current activity info? Updating with previous activity info is not what I need."

The reason I want capture activity info in the entity was that I was not able to find solution to display work item list with entity data via external APIs.

I also posted another question earlier. "http://feedback.bizagi.com/suite/en/topic/how-can-i-display-customized-columns-via-external-apis";

[ I customized columns of the work item list with entity data. However I am not able to find out how this customized columns to be displayed on the list via using external APIs. I checked the entity APIs, but only finding process level, not able to tie with workitem or activity. Within the Bizagi GUI, it is displaying what I want, but not able to show same list externally using provided APIs. ]

Any suggestion to resolve these issues?

Thanks,

Satoshi

photo
1

Dear Satoshi,

If we understand this question, you have two ways to do it. One is through Entity Manager methods. For further information: http://help.bizagi.com/bpmsuite/en/index.html?soa_layer.htm and http://help.bizagi.com/bpmsuite/en/10.6/index.html?soa_layer.htm.

Another way is through virtualization/replication. You are able to import values from external database and use them in combo box. For further information: http://help.bizagi.com/bpmsuite/en/index.html?replication.htm and http://help.bizagi.com/bpmsuite/en/index.html?virtualization.htm.

Regards

photo
1

Can i save attributes values in database on save using saveattribute method?