Forum Discussion

arvindnsn's avatar
arvindnsn
Contributor
2 years ago
Solved

Running multiple instances of the same triggered task concurrently

Hello,    I have a requirement where multiple instances of the same triggered task has to be run concurrently.   I have a pipeline Load_control.pip that takes several inputs and based on different ...
  • Abhishek_Soni37's avatar
    3 years ago

    You can use this expression: $JsonStr != null && $JsonStr != “” ? $JsonStr .replaceAll(“\n”,“”) : $JsonStr

    Explanation: This will first check if the JsonStr is null or empty, if it’s not then it’ll do the replacing else it’ll just put input jsonStr as output. In your case where JsonStr is null it’ll show output null