Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task chains not properly created #136

Closed
mountaindude opened this issue Feb 10, 2023 · 1 comment · Fixed by #134, #144, #146, #148 or #150
Closed

Task chains not properly created #136

mountaindude opened this issue Feb 10, 2023 · 1 comment · Fixed by #134, #144, #146, #148 or #150
Assignees
Labels
bug Something isn't working

Comments

@mountaindude
Copy link
Contributor

What version of Ctrl-Q are you using?

3.4.1

What version of Node.js are you using? Not applicable if you use the standalone version of Ctrl-Q.

No response

What command did you use to start Ctrl-Q?

node ./src/ctrl-q.js task-import --auth-type cert --host 192.168.100.109 --auth-cert-file ./cert/client.pem --auth-cert-key-file ./cert/client_key.pem --auth-user-dir LAB --auth-user-id goran --file-type csv --file-name task-chain.csv

What operating system are you using?

macOS

What CPU architecture are you using?

X86_64

What Qlik Sense versions are you using?

2022-November

Describe the Bug

Composite events are not created as intended.
The compositeRules array in the JSON sent to the Sense API is always empty, irrespective of what's defined in the source file:

{
  "timeConstraint": {
    "days": 0,
    "hours": 0,
    "minutes": 360,
    "seconds": 0
  },
  "compositeRules": [],
  "name": "When HR metrics done",
  "enabled": true,
  "eventType": 1,
  "reloadTask": {
    "id": "7efe4822-d608-4574-8c16-854d430a8174"
  },
  "schemaPath": "CompositeEvent"
}

Expected Behavior

No response

To Reproduce

No response

@mountaindude mountaindude self-assigned this Feb 10, 2023
@mountaindude mountaindude added the bug Something isn't working label Feb 10, 2023
@mountaindude
Copy link
Contributor Author

Caused by a mismatch of column names.

When exporting tasks to a file a column "Rule count" is created to keep track of composite event rules that are associated with a task (i.e. which dependencies there are to upstream tasks).

But when importing the same file Ctrl-Q looks for a column named "Rule counter".
Doesn't find it and thus no composite event rules are created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment