This green lock means that the package is locked in the SVN repository. Nobody can commit this package while it is locked except the person who locked it. But you can develop in this package and save your changes locally. After you made your changes just commit to repository and press the green lock again to unlock a package. More on topic learn here
You are right. Using Insert class doesn't fire any business processes. It connected to the fact that Insert class works directly with database not with entity. We recommend using this class only if perfomance is high priority. It much faster than EntitySchemaQuery class, because the Insert, Update, Delete classes skip all events and rights check. If you want to fire your business process, use EntitySchemaQuery:
var entitySchemaManager = UserConnection.EntitySchemaManager;
var entitySchema = entitySchemaManager.GetInstanceByName("Contact");
I would like to print a document which would include data from two entities: A and B. They are not connected directly though, instead there's an entity C that has lookups to both A and B. Just choosing C as the base entity for printable is probably not possible, because there may be many this kind of many-to-many relationships between A and other entities. Is it possible to create a printable document that includes data from A and those other entities?
In case you create a printable in C object, you can create two tables from A and B to get the info connected to the entity C. Please try to create such printables. I recommend you to test it. In case the tables are not connected at all, you won't be able to get the info from B to the printable based on A.
I don't think just creating a printable for C solves the problem, because there are more than one of this type of relationships between A and other entities. Let's say I have entity C with lookups to A and B and also entity Y with lookups to A and X. How can connect in a printable entities A, B, X?
string json =Get<string>("ProcessSchemaParamRespJson");var dict =new JavaScriptSerializer().Deserialize<Dictionary<string,object>>(json);var postalCode = dict["name"];//Array is also possiblestring[] result = dict.Select(kv => kv.Value.ToString()).ToArray();string processedOutput ="Response Elements : ";foreach(string val in result){
processedOutput +=" "+ val;}Set("ProcessSchemaProcessedResponse", processedOutput);returntrue;
I am trying to use Script to process json response from a web service call.
The validation of script fails with following error,although I have declared the namespace System.Web.Script.Serialization under Usings section of the process. Any help here is appreciated. Being new to the Product, I am also looking forward to some link to guideline documents for scripts.
As more detailed issue description you give, as more detailed answer you get ;)
Regarding the request. Bpm'online - it's an asp.net application. When you write c# code it will appear in a class. You can check the source code of the class by clicking on the "Open source code" button.
Please investigate the code and find what's wrong with it.
Please note that it's not enough to add "using" in an asp.net application. "using" should always be connected to a "reference". You can add additional libraries as references in the "External assemblies" section.
Is it possible to remove or somehow disable processes that are in "Run process" context menu according to some conditions? For example, I'd like to disable a process on section page and allow it on edit page but only if the object has a particular status. If it's not possible - how else can I achieve similar functionality?
You need to create replacing modules for the case page and for the case section. Then write the code that will match your needs there. Please find the example below.
Thank you. And do you know if it's possible to disable or hide single context menu item? For example if I have two processes I may want to disable one but not the other.
You need to override methods from the ProcessEntryPointUtilities mixin in the CaseSection and CasePage modules. For example, for the button on a grid record you'll need to override the addRecordRunProcessMenuItems method in the CaseSection module.
Unfortunately, there is no place you can export all the system fields from. You can install SQL-executor from the Marketplace and execute the select queries with it to be able to view the content of the database tables and the fields that are used there.
We are planning to add the list of all the objects and field used in the system someday but there is no ETA for the task yet.
There is no way to export the fields or columns that are in a table using SQL executor from the Marketplace. You can only view them. As for a queries, you may use basic ones that are enough to see the table content. For instance if you want to see the fields and columns in the Contact table, run 'select * from Contact', etc. As of the export option, our R&D team already accepted the idea of adding the list of all objects and fields for export, still we do not know when exactly it will be implemented.
Thank you for the reply. I'm so sorry, I mislead you. I was using the older version of the SQL executor. Just updated to the latest one, which has the option 'Export to csv'. Using this option you can export all the records and columns from the table as well as the feed.
There is no SQL-query that allows selecting all records from all tables and that's why it cannot be done. It is not something that bpm'online doesn't support. It is something that cannot be handled by SQL language itself. You need to run select queries one by one for all tables in the application (you can get a list of all system tables of the database using select * from sys.tables query) and export results for each query.