Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 45
    • Issues 45
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • 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
  • Issues
  • #188
Closed
Open
Issue created Sep 21, 2022 by lcdweb@lcdwebContributor

is it possible to control what relationship contacts are used for the actions?

I have a rule created in CiviRules that triggers on the creation of a relationship and creates an activity. I'm finding that the activity creation will create two records -- one for each of the two contacts defined by the relationship.

Is there any way (including via hooks) to control the action parameters? I want to specify which of the two relationship contacts should have the activity attached.

Ideally, I'd also like to control who is assigned the activity dynamically (i.e. via one of the relationship contacts).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking