Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3198

Fix automation scripting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Automation

      Description

      Following non regression test about automation scripting:

      1. Create a new script. Input type= document, Output type = void.
      2. Type in the editor "Document." and select the first operation "Document.Create"
      3. Link it to a user action and Check if the operation is fully generated.

      I have this automation scripting:

      function run(input, params) {
        Document.Create(
          input, {
            /*required:true - type: string*/
            'type': "File",
            /*required:false - type: string*/
            'name': "testfile",
            /*required:false - type: properties*/
            'properties': {
              "dc:title": "test file",}
          }
        );
      }
      
      

      When I click on my user action, I get an error that says:

      An error occured while executing the chain 'javascript.test-scripting': No operation was bound on ID: javascript.test-scripting
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sguitter Solen Guitter
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty