The JSON representation of the job is available here.
The purpose of this Data Factory job is to automatically add a comment on comment threads that have been open for more than a certain number of days and that have not been closed yet, so that participants receive an email notifications reminding them to act on these comment threads. This job intends to illustrate the use of tasks such as data-comment-thread-find and data-comment-thread-create-reply.
This job is made to be automatically run periodically.
flowchart TD _start(("Start")) _end(("End")) fetch_comment_threads["<b><a href='/data-factory/references/tasks/data-fetch-comment-threads/'>data-fetch-comment-threads</a></b><br />Fetch comment threads"] set_day_old["<b><a href='/data-factory/references/tasks/code-execute-javascript/'>code-execute-javascript</a></b><br />Compute age in days for each comment thread"] filter_comment_threads_opened_old_enough_and_not_assigned_to_my_account["<b><a href='/data-factory/references/tasks/json-transform-jq/'>json-transform-jq</a></b><br />Filter comment threads opened more than X days ago and not assigned to my account"] generate_replies["<b><a href='/data-factory/references/tasks/json-transform-jq/'>json-transform-jq</a></b><br />Generate replies"] post_replies["<b><a href='/data-factory/references/tasks/data-create-comment-thread-replies/'>data-create-comment-thread-replies</a></b><br />Post replies"] _start --> fetch_comment_threads fetch_comment_threads --> set_day_old set_day_old --> filter_comment_threads_opened_old_enough_and_not_assigned_to_my_account filter_comment_threads_opened_old_enough_and_not_assigned_to_my_account --> generate_replies generate_replies --> post_replies post_replies --> _end
Data Factory Use Cases
Comment on threads open for more than a certain number of days
Quick links
The job is available for download here.
The JSON representation of the job is available here.
The purpose of this Data Factory job is to automatically add a comment on comment threads that have been open for more than a certain number of days and that have not been closed yet, so that participants receive an email notifications reminding them to act on these comment threads. This job intends to illustrate the use of tasks such as
data-comment-thread-findanddata-comment-thread-create-reply.This job is made to be automatically run periodically.
Data Factory job in details