After Business Rule not operating after modification from Employee Center
						
					
					
				
			
		
	
			
	
	
	
	
	
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday - last edited Monday
I have two business rules. These business rules are supposed to be run after a user enters an item in the Employee Center portal.
The first is an After Insert business rule that is supposed to run when the Requested Item is created. It is supposed to send data to a customized table. Sometimes, the data already exists so instead of adding data, it does a lookup and updates the data instead.
The Second is an after Update business rule that is supposed to run when the data in the customized table is modified. It is supposed to send the data to a third table.
I can confirm that the first business rule is working as it sends data to the customized table without issue. I can also confirm that the After Update business rule is also working as the data is updated there as well.
But on Employee Center, while the first business rule runs, the second does not. I am at a loss as to figuring out why the Employee Center won't run both rules as planned.
Ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday - last edited Monday
Hi @tahnalos 
Could you please check order of business rules
I guess both these BRs or two different tables also please give the code of both BRs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday - last edited Monday
So the first business rule runs after insert of Table #1 and either creates a new entry or modifies an existing one in Table 2.
The second business rules run after modify of table #2.
I am not sure how execution order is relevant in this scenario.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
Please send the code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
Have you tried using the debugger? Search for Debug Business Rules (detailed) in the filter navigator and you'll be able to see some of the triggers
