cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trigger CC Workflow for 1 Particular Company irrespective of any changes in Portlet and All Events

0 Likes
838

Hello Experts,

Requirements: Trigger CC Workflow for all employee events and changes in Portlets for 1 Particular Company Code XXX

  • Create a Dynamic Workflow with user to notify email
  • Create a Workflow logic with CC
  • Write a Business rule with a logic to consider Company Code : XXX and consider 1 (data change) event in Job Information (testing purpose used 1 event)
  • Call the Workflow with CC logic

Now, I am able to achieve, my solution. However, there is an another workflow existing for Data changes approval and that is NOT working OR my business rule is overwritten in Job Information Portlet (Manage Business Configuration)

How, can I avoid this situation and achieve my solution. Since I need to trigger CC for all events and portlets, there are already mulitple events triggered in different busienss rules and workflows

Accepted Solutions (1)

Accepted Solutions (1)

Angie_Pullano
Active Contributor
0 Likes

Hi Tamiz,

Only one workflow can be assigned to any transaction. Business rules will run in the order assigned, so if there are multiple workflow-assigning rules on the job info entity (for example), the first rule to run might assign workflow A but then a later rule to run might assign workflow B, therefore the first rule appears to be ignored.

My recommendation is to only have one business rule for workflows assigned to each entity. If it still seems to not be working then use rule trace to confirm the rule is being triggered and/or what logic problem is occurring.

Also, if you are just wanting to cc notifications to a certain group on existing workflows, I would create the dynamic role and add it as a cc role to all existing workflows. For example, I have emails go to a particular person/group when it is company or region X that is assigned as a cc role on all workflow types they want to be notified on. Maybe I am not understanding what you mean by cc workflow?

HTH,

Angie

Answers (2)

Answers (2)

0 Likes

Hi Angie,

It worked! I created Dynamic Role and mapped with the exiting Business Rule. The Dynamic role I managed to ADD Company code and the respective User who want to be notified in CC.

Angie_Pullano
Active Contributor
0 Likes

Excellent! Thanks for letting me know it worked for you!

0 Likes

HI Angie,

Thanks for responding. Here is the 1 of the scenario, now I have.

1. If there is any DATA CHANGE event Triggered in JOB INFORMATION portlet. The changes will go to the employee supervisor to approve. There is a Business Rule and Workflow tied with this requirement

2. On top of the step above scenario. If It's for Germany, I need to notify this DATA CHANGE even to Germany HR team and the Step 1 logic should work.

Like this, I need to capture all the changes for Germany to be triggered to GERMANY HR team