{"id":1333,"date":"2025-07-10T14:39:11","date_gmt":"2025-07-10T14:39:11","guid":{"rendered":"https:\/\/help.fieldax.com\/?post_type=docs&#038;p=1333"},"modified":"2025-07-10T14:39:12","modified_gmt":"2025-07-10T14:39:12","password":"","slug":"set-up-assignment-colors","status":"publish","type":"docs","link":"https:\/\/document.fieldax.com\/?docs=set-up-assignment-colors","title":{"rendered":"Set Up Assignment Colors"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Understanding Visual Coding<\/strong><\/h2>\n\n\n\n<p>Color coding on the dispatch board provides instant visual information about job status, priority, or other business rules.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Color Usage<\/strong><\/h3>\n\n\n\n<p><strong>Common Color Schemes<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Priority-based<\/strong>: Red for emergency, yellow for urgent<\/li><li><strong>Status-based<\/strong>: Green for on-time, red for late<\/li><li><strong>Type-based<\/strong>: Blue for maintenance, orange for repair<\/li><li><strong>Engineer-based<\/strong>: Different color per technician<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Creating Color Assignment Flow<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Access Flow Builder<\/strong><\/h3>\n\n\n\n<p>Navigate to Flow creation:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to <strong>Setup<\/strong><\/li><li>Search for &#8220;Flows&#8221;<\/li><li>Click <strong>Flows<\/strong><\/li><li>Click <strong>New Flow<\/strong><\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Select Flow Type<\/strong><\/h3>\n\n\n\n<p>Choose appropriate flow type:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Select <strong>Record-Triggered Flow<\/strong><\/li><li>Click <strong>Create<\/strong><\/li><li>This allows automatic color updates<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Configure Flow Trigger<\/strong><\/h3>\n\n\n\n<p>Set when flow executes:<\/p>\n\n\n\n<p><strong>Trigger Configuration<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Object<\/strong>: Job (Job__c)<\/li><li><strong>Trigger<\/strong>: When record is created or updated<\/li><li><strong>Condition<\/strong>: Always (or add specific criteria)<\/li><li><strong>Optimize<\/strong>: Fast Field Updates<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: Add Decision Element<\/strong><\/h3>\n\n\n\n<p>Create logic for color assignment:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Add <strong>Decision<\/strong> element<\/li><li>Name: &#8220;Determine Job Color&#8221;<\/li><li>Create outcomes for each scenario<\/li><\/ol>\n\n\n\n<p><strong>Example Outcomes<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Emergency Jobs<\/li><li>Overdue Jobs<\/li><li>On-Time Jobs<\/li><li>Maintenance Jobs<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 5: Define Color Criteria<\/strong><\/h3>\n\n\n\n<p>Set conditions for each outcome:<\/p>\n\n\n\n<p><strong>Emergency Jobs Outcome<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Condition: {!$Record.Priority__c} = &#8216;Emergency&#8217;<\/li><li>Color: #FF0000 (Red)<\/li><\/ul>\n\n\n\n<p><strong>Overdue Jobs Outcome<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Condition: {!$Record.Planned_Visit_Date_Time__c} &lt; NOW()<\/li><li>AND {!$Record.Status__c} != &#8216;Completed&#8217;<\/li><li>Color: #FFA500 (Orange)<\/li><\/ul>\n\n\n\n<p><strong>On-Time Jobs Outcome<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Default outcome<\/li><li>Color: #008000 (Green)<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 6: Update Color Field<\/strong><\/h3>\n\n\n\n<p>Add update actions:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>After each decision outcome<\/li><li>Add <strong>Update Records<\/strong> element<\/li><li>Update the triggering record<\/li><li>Set field: <strong>fax__DB_Gantt_Border_Color__c<\/strong><\/li><li>Value: Color code or name<\/li><\/ol>\n\n\n\n<p><strong>Color Format Options<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Hex code: #FF0000<\/li><li>Color name: Red<\/li><li>RGB: rgb(255,0,0)<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 7: Complete Flow<\/strong><\/h3>\n\n\n\n<p>Finalize the flow:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Connect all elements<\/li><li>Set proper paths<\/li><li>Add description<\/li><li>Save with clear name: &#8220;Job Color Assignment&#8221;<\/li><li>Activate the flow<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Advanced Color Schemes<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Multi-Field Color Logic<\/strong><\/h3>\n\n\n\n<p>Complex color rules:<\/p>\n\n\n\n<p>IF Priority = Emergency THEN Red<\/p>\n\n\n\n<p>ELSE IF Status = Overdue THEN Orange&nbsp;&nbsp;<\/p>\n\n\n\n<p>ELSE IF Engineer = Unassigned THEN Yellow<\/p>\n\n\n\n<p>ELSE IF Type = Maintenance THEN Blue<\/p>\n\n\n\n<p>ELSE IF Customer_Type = VIP THEN Purple<\/p>\n\n\n\n<p>ELSE Green<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Dynamic Color Calculation<\/strong><\/h3>\n\n\n\n<p>Using formula fields:<\/p>\n\n\n\n<p><strong>Formula Example<\/strong>:<\/p>\n\n\n\n<p>IF(Priority__c = &#8216;Emergency&#8217;, &#8216;#FF0000&#8217;,<\/p>\n\n\n\n<p>IF(Planned_Visit_Date_Time__c &lt; NOW(), &#8216;#FFA500&#8217;,<\/p>\n\n\n\n<p>IF(Service_Engineer__c = null, &#8216;#FFFF00&#8217;,<\/p>\n\n\n\n<p>&#8216;#008000&#8217;)))<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Gradient Colors<\/strong><\/h3>\n\n\n\n<p>For percentage-based coloring:<\/p>\n\n\n\n<p><strong>Completion Percentage<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>0-25%: Red (#FF0000)<\/li><li>26-50%: Orange (#FFA500)<\/li><li>51-75%: Yellow (#FFFF00)<\/li><li>76-100%: Green (#008000)<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Color Best Practices<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Accessibility<\/strong><\/h3>\n\n\n\n<p>Consider color-blind users:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Use high contrast<\/li><li>Don&#8217;t rely solely on color<\/li><li>Add icons or patterns<\/li><li>Test with accessibility tools<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Consistency<\/strong><\/h3>\n\n\n\n<p>Maintain standards:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Document color meanings<\/li><li>Use consistent scheme<\/li><li>Train all users<\/li><li>Display legend<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Performance<\/strong><\/h3>\n\n\n\n<p>Optimize for speed:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Simple logic preferred<\/li><li>Avoid complex calculations<\/li><li>Minimize database queries<\/li><li>Test with large data sets<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Understanding Visual Coding Color coding on the dispatch board provides instant visual information about job status, priority, or other business rules. Color Usage Common Color Schemes: Priority-based: Red for emergency, yellow for urgent Status-based: Green for on-time, red for late Type-based: Blue for maintenance, orange for repair Engineer-based: Different color per technician Creating Color Assignment&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[9],"doc_tag":[],"class_list":["post-1333","docs","type-docs","status-publish","hentry","doc_category-essential-setup"],"year_month":"2026-05","word_count":389,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/document.fieldax.com\/?author=1"},"doc_category_info":[{"term_name":"Essential Setup","term_url":"https:\/\/document.fieldax.com\/?doc_category=essential-setup"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/document.fieldax.com\/index.php?rest_route=\/wp\/v2\/docs\/1333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/document.fieldax.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/document.fieldax.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/document.fieldax.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/document.fieldax.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1333"}],"version-history":[{"count":1,"href":"https:\/\/document.fieldax.com\/index.php?rest_route=\/wp\/v2\/docs\/1333\/revisions"}],"predecessor-version":[{"id":1334,"href":"https:\/\/document.fieldax.com\/index.php?rest_route=\/wp\/v2\/docs\/1333\/revisions\/1334"}],"wp:attachment":[{"href":"https:\/\/document.fieldax.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1333"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/document.fieldax.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_category&post=1333"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/document.fieldax.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=1333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}