Corezoid 4.0
  • 14 Dec 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Corezoid 4.0

  • Dark
    Light
  • PDF

Article summary

May 14 2019

Features

  1. Folders in the Workspace are now sorted in alphabetical order by default.

    v4_image8

  2. In Customize response parameters block of the API Call node, the possibility to specify key (name) of the parameter in a dynamic way was added.

    Example: {{param}}

    v4_image3

    After API call, the task will contain a new object with a name {{param}}, meaning the value of param parameter:

    v4_image7

Important

The name of the parameter (key) will be formed according to those parameters of the task, that existed before the API call. Parameters, that were received after API call, will not be substituted automatically. If the specified parameter is missing from the task or it has an empty value before the API call, then the name of the parameter will also contain an empty value.

  1. In API Call node, the new format for working with requests (Request format) – Raw was added. In the Code editor tab, you can now specify as request body data in the following formats: string, number, array, object.

    Example of the request body with an array.

    v4_image1

    Example of Corezoid API request with a dynamic substitution of the parameter name.

    v4_image6

    Now a part of the request in XML format can be substituted with a help of dynamic parameter, the value of which will be taken from the body of the task.

    v4_image5

    where

    { "program": "<program><loadname>APP1LMD1</loadname><pgmname>APP1PGM1</pgmname></program>" }

    Also in the Code editor the conversion of values to string, number, object, array is supported using the following expressions:

    $.to_object()

    $.to_number()

    $.to_array()

    $.to_string()

    In order to convert the string parameter "str": "{\"obj\": {\"key\": \"value\"}}" into object, the expression will be the following: $.to_object({{str}})

  2. The new features were added to Task Parameters menu:

    • bulk operations: move, copy, delete selected parameters.
    • automatic check for the presence of identical parameters names.

      v4_image4

Fixes

  1. Fixed the issue with a wrong API Call behavior. In case when API returned an empty array, the _conveyor_api_array_ parameter wasn’t displayed properly in the task body.

  2. Log out function didn’t work properly in the Dashboard view mode.

  3. E-mail address, to which the letter with instructions for password recovery is sent wasn’t displayed properly.

    v4_image2

  4. Fixed the bug with adding a new node using "+" control.

  5. Fixed the bug with expiration of the direct link to the process, when users logged in without authorisation.

  6. Minor boring bugs fixed as well :)


Was this article helpful?

What's Next