Custom Actions - Add output field prefix

Options
Gary_149776
Gary_149776 Posts: 6
edited January 2020 in Ideas

At present, we can pass parameters to a custom action, run processes, then output data (via all output fields with the process). I think that the output field(s) should be also available where the custom action is called so it can be assigned to a new field name. Like
Files: Get file information outputs

  • output name--File nameText
  • output name--File size in bytesInteger
  • output name-info--File extensionText
  • output name-info--File typeText
Tagged:
4
4 votes

Swept · Last Updated

Comments

  • Devon_161545
    Options

    @Gary_913372, I already do something like that in a custom action that I have. As one of the custom action process fields I ask for an "output field" in the task setup. When the process is run, I run a little javascript on the output field to make it lower case, and add all of the dashes similar to the way catalytic already does it in their tasks. Then I use the field reference in the tasks within the custom action which prepends the output field to the front of every variable that is returned. I'm happy to provide more specifics if you'd like them.

  • Gary_149776
    Options

    Devon, I did something very similar as a work around. I passed a parameter output-prefix then manual generate the output fields required which worked perfectly.