Skip to content

Replicate the previous Time Tracking functionality with automations #19

Answered by jstanden
cybertechcafe asked this question in Q&A
Discussion options

You must be logged in to vote

Use:

              # Create a comment on the time tracking entry
              record.create/comment:
                output: new_comment
                inputs:
                  record_type: comment
                  fields:
                    author__context: worker
                    author_id: {{worker_id}}
                    comment: test comment
                    target__context: time_entry
                    target_id: {{linked_time_entry.id}}

Main differences:

  • author__context (two underscores, uncommented)
  • target__context (two underscores, uncommented)
  • {{linked_time_entry.id}} for the target_id
  • Removed context (it's target__context)

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@cybertechcafe
Comment options

@jstanden
Comment options

@cybertechcafe
Comment options

Answer selected by cybertechcafe
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants