(Solved) Execute omnijs via shortcuts app

Hi everybody,
I would like to append text to an existing OmniFocus task via shortcuts. So I downloaded ‘Append to Note’ script from omni-automation.com. It works fine when using it interactively with the “Share” button. However, I would like to execute the script within shortcuts with a parameter (text to add to the note). Is this doable? So far I found no documentation on how to do it.

I also could do it with

  1. get the information from the specific task
  2. append the new text to the existing text
  3. create a new activity
    But then I do not know how to delete the “old” task with shortcuts.
    Any ideas about that?

I replied to your other post about this: Can omnijs be executed by Shortcuts app?