Answers.Body: <p>You can add roles to specific case types by going to Administer > CiviCase > Case Types, click to edit a given case type and you will see a section for "Roles" where you can add or remove roles as desired. </p>
  
  <p>Roles are actually relationships, so you will need to ensure that you have all of the requisite relationships in place first by going to Administer > Customize Data and Screens > Relationship Types.</p>
  
  <p>Hope this helps,
  Tamar</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-05T16:36:15.723Z
Answers.LastActivityDate: 2016-10-05T16:36:15.723Z
Answers.UserDisplayName: Tamar Meir - Cividesk
Answers.Body: <p>Now the bug has been fixed in Civi with the label v relationship name, it can still cause frustration - it is very easy to put the relationship in the wrong way around.  Even after all these years I still get caught out with Civi's Relationships.</p>
  <p>So if you have created a relationship like 'Manager is' and 'Manager for' - if 'Manager is' does not appear on your webform, try adding 'Manager for' in the Case role and see if that shows up.  It can be a real gotcha depending on how you have set up the relationship.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-29T08:28:21.497Z
Answers.LastActivityDate: 2023-03-29T08:28:21.497Z
Answers.UserDisplayName: ChumKui
Answers.Body: <p>Come to find out that the role not being available to map was because the relationship name and label in the database did not match (i.e. name_b_a was "Third cousin once removed" but the label_b_a was "Distant cousin").  It seems like when the relationships were originally created we had the ability to set a different name and label - we're guessing this was in an earlier version of CiviCRM as currently the only thing you can add/edit directly in CIvi is the label. </p>
  
  <p>Once the name field was revised to match the label, the role was available for selection in the Cases > case roles section.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-13T19:57:11.267Z
Answers.LastActivityDate: 2018-03-14T13:38:34.597Z
Answers.LastEditDate: 2018-03-14T13:38:34.597Z
Answers.UserDisplayName: RayWright
Body: <p>When I select a Case Type on the Case tab of the Webform, A suite of Case Roles are presented so a Contact on the CIVICRM tab can be mapped to them. Some of the Roles for the Case Type I selected are not presented. Is there a setting I need to use so all case roles are presented? The one that is missing is an organization contact type we added.</p>
  
  <p>My site is Drupal 7.41, CiviCRM 4.6.10, and Webform CiviCRM Integration module 7.x-4.11. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-05T18:14:59.333Z
Comments.Text: It may be time to upgrade the webform-civicrm module; that's quite an old version.
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-10T12:18:14.557Z
Comments.Text: Do you think the version would effect whether Webform CiviCRM Integration module would present custom contact types? In testing I determined that the built in Organization contact type worked as expected, but the Organization contact types we added did not.
Comments.UserDisplayName: pmatt
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-10T16:10:07.780Z
Comments.Text: It might. There have been some bugfixes along those lines.
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-12T13:28:18.737Z
Comments.Text: I updated the version, but the issue remains. I will go ahead and submit an issue in Drupal.
Comments.UserDisplayName: pmatt
Tags: <webform-civicrm>
Title: What determines the suite of Case Roles presented for assignment on the CIVICRM Webform Case Tab?
ThreadText: # What determines the suite of Case Roles presented for assignment on the CIVICRM Webform Case Tab?
  
  (Asked by: username_0 on 2016-10-04)
  
  When I select a Case Type on the Case tab of the Webform, A suite of Case Roles are presented so a Contact on the CIVICRM tab can be mapped to them. Some of the Roles for the Case Type I selected are not presented. Is there a setting I need to use so all case roles are presented? The one that is missing is an organization contact type we added.
  
  My site is Drupal 7.41, CiviCRM 4.6.10, and Webform CiviCRM Integration module 7.x-4.11.
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: It may be time to upgrade the webform-civicrm module; that's quite an old version.  
  > **username_0**: Do you think the version would effect whether Webform CiviCRM Integration module would present custom contact types? In testing I determined that the built in Organization contact type worked as expected, but the Organization contact types we added did not.  
  > **username_1**: It might. There have been some bugfixes along those lines.  
  > **username_0**: I updated the version, but the issue remains. I will go ahead and submit an issue in Drupal.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_4 on 2018-03-13. Score: 4 | Accepted answer
  
  Come to find out that the role not being available to map was because the relationship name and label in the database did not match (i.e. name\_b\_a was "Third cousin once removed" but the label\_b\_a was "Distant cousin"). It seems like when the relationships were originally created we had the ability to set a different name and label - we're guessing this was in an earlier version of CiviCRM as currently the only thing you can add/edit directly in CIvi is the label.
  
  Once the name field was revised to match the label, the role was available for selection in the Cases > case roles section.
  
  
  ---
  
  ### Answer by username_2 on 2016-10-05. Score: 2
  
  You can add roles to specific case types by going to Administer > CiviCase > Case Types, click to edit a given case type and you will see a section for "Roles" where you can add or remove roles as desired.
  
  Roles are actually relationships, so you will need to ensure that you have all of the requisite relationships in place first by going to Administer > Customize Data and Screens > Relationship Types.
  
  Hope this helps,
  username_2
  
  
  ---
  
  ### Answer by username_3 on 2023-03-29. Score: 0
  
  Now the bug has been fixed in Civi with the label v relationship name, it can still cause frustration - it is very easy to put the relationship in the wrong way around. Even after all these years I still get caught out with Civi's Relationships.
  
  So if you have created a relationship like 'Manager is' and 'Manager for' - if 'Manager is' does not appear on your webform, try adding 'Manager for' in the Case role and see if that shows up. It can be a real gotcha depending on how you have set up the relationship.
  
  
  ---
  
  