instedd / hub

InSTEDD Hub
2 stars 4 forks source link

Add the option 'Disable' task #72

Closed pmallol closed 9 years ago

pmallol commented 9 years ago

It would be useful to have the option to disable a task when necessary instead of having to delete it and create it again later.

Precondition: The user has a GoogleSpreadsheet with some variables matching the ACT Client's.

  1. Create a task with a 'new case' in ACT as the action and an 'Insert' in GSpradsheet as the event
  2. Create a second task but with a 'new case' in ACT as the action and an 'Update' in GSpradsheet as the event
  3. Open the ACT Client and create a New case and complete phone number with: 1234567890, and name with: X
  4. Click 'Poll' in the ACT Connector and reload the GoogleSpreadsheet and check it was updated
  5. Create another new case with phone number: 123457890, but name: Y
  6. Repeat step 4.

Obtained: Two cases are inserted in the GSpreadsheet and the first one is updated, resulting in two identical cases (same phone number and name) with different 'id'.

Expected: the user can disable the task that inserts a new case in the GS resulting only in the update of the already existing case when adding a new case that updates its name.

pmallol commented 9 years ago

Works ok in Version:bba7ed9