
“\”Content-type: application/x-www-form-urlencoded\””” says we we’re sending the header as a string.“–header” means we want to specify a request header. The “$httpResponseHeaders” variable is where we want the headers dumped to.The “-D” means that we want a header dump.“POST” says what kind of HTTP request it is (create).Note that cURL shortcuts are case-sensitive, so “-X” and “-x,” for example, don’t mean the same thing. The “-X” means that we have a request.In our GIF above, our cURL options calc looked like this: Second, they opened up the Target to be either a field or a variable, instead of just a field: First, they added cURL options that you can specify as a calculation: Because plugins aren’t necessary, that also means that users on FileMaker Go, WebDirect, and even Custom Web Publishing have the same power the desktop app is capable off.įileMaker 16 updated the Insert from URL script step in a couple of different ways. We can now natively perform all of the HTTP CRUD functions AND get responses and set HTTP headers, which wasn’t possible before FileMaker 16. Using the Integrating FileMaker with RESTful APIs file, we’ve updated it to now use Insert from URL with cURL options instead of the BaseElements plugin.
#Json baseelements code
Checking the response code is a necessity in REST APIs. If you get a code back that starts with 2, you know it succeeded (e.g. HTTP response codes are important because they let you know whether your operation ran correctly or not. FileMaker 16 allows users to specify headers, set request types, receive response codes, among many other things. This allows FileMaker to natively integrate with innumerable services across the web, including Google Calendar, Google Maps, Microsoft SharePoint, and many other services.ĬURL stands for ‘Client URL Request Library,’ or just ‘Client for URLs,’ and it’s a way to interact with data across devices around the world with many different protocols, such as HTTP, FTP, etc. We fixed it by migrating our old process definitions within our repository in new json format.One of the most important and wide-reaching updates in FileMaker 16 is the ability to set cURL options in the Insert from URL script step. With this change all our existing process definitions which were stored in old json format within our repository could not be fetched with new flowable bpmn json library (well it could be fetched but form property node were empty) and when we deployed the same in flowable engine those were empty causing downstream problems which fetching task etc. BaseElements is a standard set of sharing enabled. So all worked fine until we upgraded to flowable wherein some of the code has been changed in .#convertJsonToFormProperties line 718 to be “formProperties” instead of “items” and similar changes to child nodes. Basically we used to use activiti bpmn json convertor to convert bpmnmodel to json model within our repository(separate database) before deploying in activiti (one of the reasons we did this was we used a editor which required the input to be as JSON model). JsonNode propertiesArray = formPropertiesNode.get(“formProperties”) JsonNode formPropertiesNode = getProperty(PROPERTY_FORM_PROPERTIES, objectNode) įormPropertiesNode = BpmnJsonConverterUtil.validateIfNodeIsTextual(formPropertiesNode) Code from 6.5 which fails to grab formproperties allFieldsAsMap() return no form keys found. (Infact I did went ahead and tried that too based on some of your posts but those tables generated by form engine are empty and query like taskService.getTaskFormModel(“taskId”) Also given we use legacy form properties, do we really need to set the formengine using form configurator. Not sure its a bug or could you please suggest a better way to query legacy form properties. ProcessEngine.getFormService().getTaskFormData(taskId) return empty form properties. It does below lookup ( JsonNode propertiesArray = formPropertiesNode.get(“formProperties”)) which is null, and hence form properties are not set while the process definition is deployed and hence ProcessEngine.getFormService().getTaskFormData(taskId) which now returns empty formproperties.Ĭomparing the source code between Activiti 5.15 and flowable 6.5 - I seeĬonvertJsonToFormProperties(JsonNode objectNode, BaseElement element) method has changed We use to grab form properties using the method


We are converting from Activiti 5.15 to Flowable 6.5 and we use the legacy form properties not Flowable forms.
