콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

We generate recurring field service tasks upon the confirmation of a sales order. The sales order also have a subscription. How can I stop the recurrence of the tasks and mark all of them as done when I end the subscription automatically?

아바타
취소
작성자 베스트 답변

You can do that using an Automated Action by following these steps:

  1. Create a new Automated Action with the following conditions:
  • Model: Sales Order
  • Trigger: On Save
  • Before Update Domain: 
    • Recurring is set
    • Subscription Status = In Progress
  • Apply On: 
    • Subscription Status = Churned
    • Recurring is set
  • Actions to Do:
  • Update Tasks associated to this sales > Recurrent to No (False)
  • Update Tasks associated to this sales > Task Done to Yes (True)
  • Update Tasks associated to this sales > State to Done
  • Update Tasks associated to this sales > Stage to Done


아바타
취소
관련 게시물 답글 화면 활동
1
12월 24
1682
1
8월 24
1394
3
6월 25
1990
2
5월 25
1039
3
4월 25
1826