Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C civirules
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 47
    • Issues 47
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • civirules
  • Merge requests
  • !87

Add trigger for relationship end date and action for removing contact sub type

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed shahrukh_compucorp requested to merge shahrukh_compucorp/civirules:relationship-inactive-trigger into master Oct 26, 2020
  • Overview 0
  • Commits 10
  • Pipelines 0
  • Changes 10

Overview

This pr adds a new trigger that would check if there are any relationships that have expired. It also adds a new action for removing the sub type for a contact.

Technical Details

  • This pr adds a new trigger as CRM/CivirulesCronTrigger/RelationshipEndDate.php it queries the civicrm_relationship table and checks if there are any relationships that have end dates in past.
  • This pr adds a new action as CRM/CivirulesActions/Contact/RemoveSubtype.php it removes the sub type of a contact.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: relationship-inactive-trigger