Answers.Body: <p><strong>By default, CiviCRM uses the default participant role specified in the event settings.</strong> <br/>
  As there is only one participant role defined per event in CiviEvent, the desired behaviour can't be achieved through CiviRules.<br/><br/>
  When doing a <strong>batch import of participants</strong>, the role(s) can be set in the .csv-file.<br/>
  When <strong>manually registering participants</strong>, one or multiple roles can be chosen.<br/>
  When <strong>participants register</strong>, an extension like <a href="https://civicrm.org/extensions/event-registration-based-participant-roles" rel="nofollow noreferrer"><strong>THIS</strong></a> would be necessary in order to have their roles separated.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-06-02T09:21:22.000Z
Answers.LastActivityDate: 2021-06-02T09:21:22.000Z
Answers.UserDisplayName: Guitarman
Body: <p>Is it possible in CiviRules to <strong>change the participant role</strong> (action)<br/>
  when a <strong>participant is added</strong> (trigger)<br/>
  for <strong>specific status</strong> (condition)?<br/><br/>
  The opposite – to update the participant status for certain role(s) using the same trigger – is possible out of the box.<br/><br/>
  <a href="https://i.sstatic.net/OWkPf.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/OWkPf.jpg" alt="enter image description here" /></a></p>
  <p><strong>Can this be achieved without having to write a new/custom action as described <a href="https://docs.civicrm.org/civirules/en/latest/create-your-own-action/" rel="nofollow noreferrer">here</a>?</strong></p>
  
Tags: <civirules>
Title: How to change participant role in CiviRules with trigger "event participant is added"?
ThreadText: # How to change participant role in CiviRules with trigger "event participant is added"?
  
  (Asked by: username_0 on 2021-05-30)
  
  Is it possible in CiviRules to **change the participant role** (action)  
  when a **participant is added** (trigger)  
  for **specific status** (condition)?  
    
  The opposite – to update the participant status for certain role(s) using the same trigger – is possible out of the box.  
    
  [![enter image description here](https://i.sstatic.net/OWkPf.jpg)](https://i.sstatic.net/OWkPf.jpg)
  
  **Can this be achieved without having to write a new/custom action as described [here](https://docs.civicrm.org/civirules/en/latest/create-your-own-action/)?**
  
  **Tags:** civirules
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-06-02. Score: 2 | Accepted answer
  
  **By default, CiviCRM uses the default participant role specified in the event settings.**   
  As there is only one participant role defined per event in CiviEvent, the desired behaviour can't be achieved through CiviRules.  
    
  When doing a **batch import of participants**, the role(s) can be set in the .csv-file.  
  When **manually registering participants**, one or multiple roles can be chosen.  
  When **participants register**, an extension like [**THIS**](https://civicrm.org/extensions/event-registration-based-participant-roles) would be necessary in order to have their roles separated.
  
  
  ---
  
  