Icon

Job config fetching

There has been no title set for this workflow's metadata.

There has been no description set for this workflow's metadata.

Sometimes after re-execution the column name of theoutput JSON column would change (<empty_1>,<empty_2>, etc), which would mess with the config of thedownstream nodes. To not be bothered by that duringdevelopment, I included this part The parameter is "discardAfterFailedExec" at this point. Howeverthe Call Workflow Service node setting is "Keep failing jobs". Sowe have to revert the boolean so that "discardAfterFailedExec" = false IS"keepFailingJobs" = truewhich is surprisingly clunky and has to happen on data, not flowvariable This workflow is meant to be run on KNIME Server and collect job settings for deleting or retaining jobs upon failed or successful job execution fetch metadata of jobGet wf namereplace white spaces in WF namecreate URL for get request ADAPT TO YOURSERVER Get Server logincredentials for REST callconvert to XMl for easier parsingextract the booleans of the discard settingsNode 32revert true and falsemake it booleanGET Request Extract ContextProperties String Manipulation(Variable) String Manipulation(Variable) CredentialsConfiguration Merge Variables JSON To XML XPath Table Rowto Variable ExtractColumn Header Table Rowto Variable Call WorkflowService Rule Engine String Manipulation Sometimes after re-execution the column name of theoutput JSON column would change (<empty_1>,<empty_2>, etc), which would mess with the config of thedownstream nodes. To not be bothered by that duringdevelopment, I included this part The parameter is "discardAfterFailedExec" at this point. Howeverthe Call Workflow Service node setting is "Keep failing jobs". Sowe have to revert the boolean so that "discardAfterFailedExec" = false IS"keepFailingJobs" = truewhich is surprisingly clunky and has to happen on data, not flowvariable This workflow is meant to be run on KNIME Server and collect job settings for deleting or retaining jobs upon failed or successful job execution fetch metadata of jobGet wf namereplace white spaces in WF namecreate URL for get requestADAPT TO YOURSERVER Get Server logincredentials for REST callconvert to XMl for easier parsingextract the booleans of the discard settingsNode 32revert true and falsemake it booleanGET Request Extract ContextProperties String Manipulation(Variable) String Manipulation(Variable) CredentialsConfiguration Merge Variables JSON To XML XPath Table Rowto Variable ExtractColumn Header Table Rowto Variable Call WorkflowService Rule Engine String Manipulation

Nodes

Extensions

Links