skotian  
                
                  
                    October 1, 2024,  8:34am
                   
                  1 
               
             
            
              Hello, I have created a workflow to send email to users once access request completed for Target source using provisioning completed trigger with condition below
$.accountRequests[?(@.accountOperation == “Create” && @.provisioningResult ==“committed” && (@.provisioningTarget ==“Target Name”))]
But WF is not getting triggered.
             
            
              
            
           
          
            
            
              Hi Sandhya, try to use the below trigger condition
$.accountRequests[?(@.provisioningResult == “committed” && @.provisioningTarget == “Target Name” && @.accountOperation==“Create”)]
             
            
              
            
           
          
            
            
              Hello Sandhya, have you tried using https://jsonpath.com/ . If yes, were you able to get a result from the json path? verifying your trigger here would help you figure out if your filter is correct.
             
            
              
            
           
          
            
              
                skotian  
              
                  
                    October 1, 2024, 10:09am
                   
                  4 
               
             
            
              No, its not working with above condition
             
            
              
            
           
          
            
              
                skotian  
              
                  
                    October 1, 2024, 10:09am
                   
                  5 
               
             
            
              ok, let me try and come back
             
            
              
            
           
          
            
              
                skotian  
              
                  
                    October 1, 2024, 10:39am
                   
                  6 
               
             
            
              I tested via ‘Test Workflow’ and it works…WF doesn’t work after enabling.
             
            
              
            
           
          
            
              
                udayputta  
              
                  
                    October 1, 2024, 12:16pm
                   
                  7 
               
             
            
              
can you replace with this and try again by enabling the workflow
$.accountRequests[?(@.accountOperation == 'Create' && (@.provisioningResult =='committed') && (@.provisioningTarget =='Target Name'))]
 
            
              
            
           
          
            
              
                skotian  
              
                  
                    October 1, 2024,  5:18pm
                   
                  8 
               
             
            
              It worked with this query but with Single quote.
             
            
              
            
           
          
            
              
                system  
              
                  
                    November 30, 2024,  5:19pm
                   
                  9 
               
             
            
              This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.