Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[automation] Auto-update linters version, help and documentation #4424

Merged
merged 2 commits into from
Dec 25, 2024

Conversation

nvuillam
Copy link
Member

[automation] Auto-update linters version, help and documentation

Copy link
Contributor

github-actions bot commented Dec 23, 2024

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ API spectral 1 0 1.77s
⚠️ BASH bash-exec 6 1 0.13s
✅ BASH shellcheck 6 0 0.42s
✅ BASH shfmt 6 0 0 0.63s
✅ COPYPASTE jscpd yes no 4.72s
✅ DOCKERFILE hadolint 128 0 24.08s
✅ JSON jsonlint 20 0 0.22s
✅ JSON v8r 22 0 16.39s
⚠️ MARKDOWN markdownlint 266 0 299 26.29s
✅ MARKDOWN markdown-table-formatter 266 0 0 159.73s
⚠️ PYTHON bandit 212 66 3.43s
✅ PYTHON black 212 0 0 4.72s
✅ PYTHON flake8 212 0 1.86s
✅ PYTHON isort 212 0 0 0.86s
✅ PYTHON mypy 212 0 15.32s
✅ PYTHON pylint 212 0 34.3s
✅ PYTHON ruff 212 0 0 0.24s
✅ REPOSITORY checkov yes no 36.41s
✅ REPOSITORY git_diff yes no 0.71s
⚠️ REPOSITORY grype yes 26 14.16s
✅ REPOSITORY secretlint yes no 11.17s
✅ REPOSITORY trivy yes no 15.19s
✅ REPOSITORY trivy-sbom yes no 0.29s
⚠️ REPOSITORY trufflehog yes 1 54.2s
✅ SPELL cspell 713 0 13.98s
⚠️ SPELL lychee 348 13 5.85s
✅ XML xmllint 3 0 0 0.43s
✅ YAML prettier 160 0 0 5.04s
✅ YAML v8r 102 0 33.64s
✅ YAML yamllint 161 0 2.88s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@nvuillam
Copy link
Member Author

Differences for Flow HARDISGROUP_OPP_AfterUpdate

HARDISGROUP_OPP_AfterUpdate

  • Type: Record Triggered Flow: After Save (Opportunity)
  • Description: Mise à jour des logiciels associées lorsque l'opportunité est à jour
  • Interview Label: HARDISGROUP_OPP_AfterUpdate {!$Flow.CurrentDateTime}
  • Environment: Default
  • Status: Active

Flow diagram

flowchart TB
START(( START ))
Send_email_to_juriste_group("📧 <em>Action</em><br/>Send email to juriste group"):::actionCalls
click Send_email_to_juriste_group "#Send_email_to_juriste_group" "name: Send_email_to_juriste_group<br/>label: Send email to juriste group<br/>actionName: emailSimple<br/>actionType: emailSimple<br/>flowTransactionModel: CurrentTransaction<br/>inputParameters:<br/>  - name: emailAddresses<br/>    value:<br/>      elementReference: Get_user_email.Email<br/>  - name: emailSubject<br/>    value:<br/>      elementReference: Subject_juristeEmail<br/>  - name: emailBody<br/>    value:<br/>      elementReference: Body_juristeEmail<br/>  - name: sendRichBody<br/>    value:<br/>      elementReference: 'True'<br/>nameSegment: emailSimple<br/>versionSegment: 1<br/>"

Add_to_collection1("🟰 <em>Assignment</em><br/>Add to collection"):::assignments
click Add_to_collection1 "#Add_to_collection1" "name: Add_to_collection1<br/>label: Add to collection<br/>assignmentItems:<br/>  assignToReference: Collection_logicielasso<br/>  operator: Add<br/>  value:<br/>    elementReference: Single_logiciel_associe<br/>connector:<br/>  targetReference: Check_if_logiciel_already_link_to_account<br/>"

Add_to_logiciel_associ1("🟰 <em>Assignment</em><br/>Add to logiciel associé"):::assignments
click Add_to_logiciel_associ1 "#Add_to_logiciel_associ1" "name: Add_to_logiciel_associ1<br/>label: Add to logiciel associé<br/>assignmentItems:<br/>  - assignToReference: Single_logiciel_associe.Logiciel__c<br/>    operator: Assign<br/>    value:<br/>      elementReference: Check_if_logiciel_already_link_to_account<br/>  - assignToReference: Single_logiciel_associe.Compte__c<br/>    operator: Assign<br/>    value:<br/>      elementReference: $Record.AccountId<br/>connector:<br/>  targetReference: Add_to_collection1<br/>"

Assign_LA_Account("🟰 <em>Assignment</em><br/>LA Account"):::assignments
click Assign_LA_Account "#Assign_LA_Account" "name: Assign_LA_Account<br/>label: LA Account<br/>assignmentItems:<br/>  assignToReference: List_LA_Account<br/>  operator: Add<br/>  value:<br/>    elementReference: Loop_List_LA_Account.Logiciel__c<br/>connector:<br/>  targetReference: Loop_List_LA_Account<br/>"

Assign_LA_Opp("🟰 <em>Assignment</em><br/>LA Opp"):::assignments
click Assign_LA_Opp "#Assign_LA_Opp" "name: Assign_LA_Opp<br/>label: LA Opp<br/>assignmentItems:<br/>  assignToReference: List_LA_Opp<br/>  operator: Add<br/>  value:<br/>    elementReference: Loop_list_LA_Opp.Logiciel__c<br/>connector:<br/>  targetReference: Loop_list_LA_Opp<br/>"

Assignement_addtocollection_newlogiciel("🟰 <em>Assignment</em><br/>Add to collection"):::assignments
click Assignement_addtocollection_newlogiciel "#Assignement_addtocollection_newlogiciel" "name: Assignement_addtocollection_newlogiciel<br/>label: Add to collection<br/>assignmentItems:<br/>  assignToReference: Collection_logicielasso<br/>  operator: Add<br/>  value:<br/>    elementReference: Single_logiciel_associe<br/>connector:<br/>  targetReference: Loop_create_new_LA<br/>"

Assignement_single_logiciel_associe("🟰 <em>Assignment</em><br/>Add to single LA"):::assignments
click Assignement_single_logiciel_associe "#Assignement_single_logiciel_associe" "name: Assignement_single_logiciel_associe<br/>label: Add to single LA<br/>assignmentItems:<br/>  - assignToReference: Single_logiciel_associe.Logiciel__c<br/>    operator: Assign<br/>    value:<br/>      elementReference: Loop_create_new_LA<br/>  - assignToReference: Single_logiciel_associe.Compte__c<br/>    operator: Assign<br/>    value:<br/>      elementReference: $Record.AccountId<br/>connector:<br/>  targetReference: Assignement_addtocollection_newlogiciel<br/>"

Is_logiciel_already_link_to_account{{"🔀 <em>Decision</em><br/>Is logiciel already link to account ?"}}:::decisions
click Is_logiciel_already_link_to_account "#Is_logiciel_already_link_to_account" "name: Is_logiciel_already_link_to_account<br/>label: Is logiciel already link to account ?<br/>defaultConnector:<br/>  targetReference: Add_to_logiciel_associ1<br/>defaultConnectorLabel: Non<br/>rules:<br/>  name: 'Yes'<br/>  conditionLogic: and<br/>  conditions:<br/>    leftValueReference: List_LA_Account<br/>    operator: Contains<br/>    rightValue:<br/>      elementReference: Check_if_logiciel_already_link_to_account<br/>  connector: &ref_0<br/>    targetReference: Check_if_logiciel_already_link_to_account<br/>  label: 'Yes'<br/>rules2:<br/>  - name: 'Yes'<br/>    label: 'Yes'<br/>    nextNode: *ref_0<br/>    nextNodeLabel: Non<br/>"

No_logiciel_link_to_Account{{"🔀 <em>Decision</em><br/>No logiciel link to Account"}}:::decisions
click No_logiciel_link_to_Account "#No_logiciel_link_to_Account" "name: No_logiciel_link_to_Account<br/>label: No logiciel link to Account<br/>defaultConnector:<br/>  targetReference: Check_if_logiciel_already_link_to_account<br/>defaultConnectorLabel: 'False'<br/>rules:<br/>  name: 'True'<br/>  conditionLogic: and<br/>  conditions:<br/>    leftValueReference: List_LA_Account<br/>    operator: IsNull<br/>    rightValue:<br/>      booleanValue: true<br/>  connector: &ref_0<br/>    targetReference: Loop_create_new_LA<br/>  label: 'True'<br/>rules2:<br/>  - name: 'True'<br/>    label: 'True'<br/>    nextNode: *ref_0<br/>    nextNodeLabel: 'False'<br/>"

SBU{{"🟧<b>🔀 <em>Decision</em><br/>SBU ?</b>"}}:::decisionsChanged

click SBU "#SBU" "name: SBU<br/>label: SBU ?<br/>defaultConnector:<br/>  targetReference: Get_LA_linkto_Account<br/>defaultConnectorLabel: Customer<br/>rules:<br/>  - name: Cloudity<br/>    conditionLogic: and<br/>    conditions:<br/>      - leftValueReference: $Record.DAS__c<br/>        operator: EqualTo<br/>        rightValue:<br/>          stringValue: SF<br/>      - leftValueReference: $Record.Account.EntitiyCloudity__c<br/>        operator: EqualTo<br/>        rightValue:<br/>          stringValue: Prospect<br/>    connector: &ref_0<br/>      targetReference: Update_Account_cloudity<br/>    label: Cloudity<br/>  - name: Reflex<br/>    conditionLogic: and<br/>    conditions:<br/>      - leftValueReference: $Record.DAS__c<br/>        operator: EqualTo<br/>        rightValue:<br/>          stringValue: SCS<br/>      - leftValueReference: $Record.Account.EntityReflex__c<br/>        operator: EqualTo<br/>        rightValue:<br/>          stringValue: Prospect<br/>    connector: &ref_1<br/>      targetReference: Update_Account_Reflex<br/>    label: Reflex<br/>  - name: Service<br/>    conditionLogic: (1 OR 2) AND 3<br/>    conditions:<br/>      - leftValueReference: $Record.DAS__c<br/>        operator: NotEqualTo<br/>        rightValue:<br/>          stringValue: SF<br/>      - leftValueReference: $Record.DAS__c<br/>        operator: NotEqualTo<br/>        rightValue:<br/>          stringValue: SCS<br/>      - leftValueReference: $Record.Account.EntityService__c<br/>        operator: EqualTo<br/>        rightValue:<br/>          stringValue: Prospect<br/>    connector: &ref_2<br/>      targetReference: Update_Account_Service<br/>    label: Service<br/>rules2:<br/>  - name: Cloudity<br/>    label: Cloudity<br/>    nextNode: *ref_0<br/>    nextNodeLabel: Customer<br/>  - name: Reflex<br/>    label: Reflex<br/>    nextNode: *ref_1<br/>    nextNodeLabel: Customer<br/>  - name: Service<br/>    label: Service<br/>    nextNode: *ref_2<br/>    nextNodeLabel: Customer<br/>"

click SBU "#SBU" "name: SBU<br/>label: SBU ?<br/>defaultConnector:<br/>  targetReference: Get_LA_linkto_Account<br/>defaultConnectorLabel: Customer<br/>rules:<br/>  - name: Cloudity<br/>    conditionLogic: and<br/>    conditions:<br/>      - leftValueReference: $Record.DAS__c<br/>        operator: EqualTo<br/>        rightValue:<br/>          stringValue: SF<br/>      - leftValueReference: $Record.Account.EntitiyCloudity__c<br/>        operator: EqualTo<br/>        rightValue:<br/>          stringValue: Prospect<br/>    connector: &ref_0<br/>      targetReference: Update_Account_cloudity<br/>    label: Cloudity<br/>  - name: DemoVisualGitDiff<br/>    conditionLogic: and<br/>    conditions:<br/>      leftValueReference: $Record.DAS__c<br/>      operator: Contains<br/>      rightValue:<br/>        elementReference: TOTO<br/>    connector: &ref_1<br/>      targetReference: Update_Account_Demo<br/>    label: Demo Visual Git Diff<br/>rules2:<br/>  - name: Cloudity<br/>    label: Cloudity<br/>    nextNode: *ref_0<br/>    nextNodeLabel: Customer<br/>  - name: DemoVisualGitDiff<br/>    label: Demo Visual Git Diff<br/>    nextNode: *ref_1<br/>    nextNodeLabel: Customer<br/>"


StageName{{"🔀 <em>Decision</em><br/>StageName ?"}}:::decisions
click StageName "#StageName" "name: StageName<br/>label: StageName ?<br/>defaultConnectorLabel: Default Outcome<br/>rules:<br/>  - name: Stagee_Fermee<br/>    conditionLogic: and<br/>    conditions:<br/>      leftValueReference: $Record.StageName<br/>      operator: EqualTo<br/>      rightValue:<br/>        stringValue: Fermée - Gagnée<br/>    connector: &ref_0<br/>      targetReference: SBU<br/>    label: Stage Fermée<br/>  - name: Stage_contracting<br/>    conditionLogic: and<br/>    conditions:<br/>      leftValueReference: $Record.StageName<br/>      operator: EqualTo<br/>      rightValue:<br/>        stringValue: Contracting<br/>    connector: &ref_1<br/>      targetReference: Get_Public_Groupe_Juriste<br/>    label: Stage contracting<br/>rules2:<br/>  - name: Stagee_Fermee<br/>    label: Stage Fermée<br/>    nextNode: *ref_0<br/>    nextNodeLabel: Default Outcome<br/>  - name: Stage_contracting<br/>    label: Stage contracting<br/>    nextNode: *ref_1<br/>    nextNodeLabel: Default Outcome<br/>"

Check_if_logiciel_already_link_to_account("🔁 <em>Loop</em><br/>Check if logiciel already link to account"):::loops
click Check_if_logiciel_already_link_to_account "#Check_if_logiciel_already_link_to_account" "name: Check_if_logiciel_already_link_to_account<br/>label: Check if logiciel already link to account<br/>collectionReference: List_LA_Opp<br/>iterationOrder: Asc<br/>nextValueConnector:<br/>  targetReference: Is_logiciel_already_link_to_account<br/>noMoreValuesConnector:<br/>  targetReference: Create_new_logiciel_associ1<br/>"

Loop_create_new_LA("🔁 <em>Loop</em><br/>Loop Create new LA"):::loops
click Loop_create_new_LA "#Loop_create_new_LA" "name: Loop_create_new_LA<br/>label: Loop Create new LA<br/>collectionReference: List_LA_Opp<br/>iterationOrder: Asc<br/>nextValueConnector:<br/>  targetReference: Assignement_single_logiciel_associe<br/>noMoreValuesConnector:<br/>  targetReference: Create_new_logiciel_associ<br/>"

Loop_List_LA_Account("🔁 <em>Loop</em><br/>List LA Account"):::loops
click Loop_List_LA_Account "#Loop_List_LA_Account" "name: Loop_List_LA_Account<br/>label: List LA Account<br/>collectionReference: Get_LA_linkto_Account<br/>iterationOrder: Asc<br/>nextValueConnector:<br/>  targetReference: Assign_LA_Account<br/>noMoreValuesConnector:<br/>  targetReference: Get_LA_Opp<br/>"

Loop_list_LA_Opp("🔁 <em>Loop</em><br/>List LA Opp"):::loops
click Loop_list_LA_Opp "#Loop_list_LA_Opp" "name: Loop_list_LA_Opp<br/>label: List LA Opp<br/>collectionReference: Get_LA_Opp<br/>iterationOrder: Asc<br/>nextValueConnector:<br/>  targetReference: Assign_LA_Opp<br/>noMoreValuesConnector:<br/>  targetReference: No_logiciel_link_to_Account<br/>"

Create_new_logiciel_associ("➕ <em>Create Records</em><br/>Create new logiciel associé"):::recordCreates
click Create_new_logiciel_associ "#Create_new_logiciel_associ" "name: Create_new_logiciel_associ<br/>label: Create new logiciel associé<br/>inputReference: Collection_logicielasso<br/>"

Create_new_logiciel_associ1("➕ <em>Create Records</em><br/>Create new LA"):::recordCreates
click Create_new_logiciel_associ1 "#Create_new_logiciel_associ1" "name: Create_new_logiciel_associ1<br/>label: Create new LA<br/>inputReference: Collection_logicielasso<br/>"


CreateOppteammember("🟥<i>➕ <em>Create Records</em><br/>Create Opp team member</i>"):::recordCreatesRemoved
click CreateOppteammember "#CreateOppteammember" "name: CreateOppteammember<br/>label: Create Opp team member<br/>connector:<br/>  targetReference: Get_user_email<br/>inputAssignments:<br/>  - field: OpportunityAccessLevel<br/>    value:<br/>      stringValue: Edit<br/>  - field: OpportunityId<br/>    value:<br/>      elementReference: $Record.Id<br/>  - field: TeamMemberRole<br/>    value:<br/>      stringValue: Autre<br/>  - field: UserId<br/>    value:<br/>      elementReference: GetGroupMember.UserOrGroupId<br/>object: OpportunityTeamMember<br/>storeOutputAutomatically: true<br/>"


Get_LA_linkto_Account("🔍 <em>Get Records</em><br/>Get LA link to Account"):::recordLookups
click Get_LA_linkto_Account "#Get_LA_linkto_Account" "name: Get_LA_linkto_Account<br/>label: Get LA link to Account<br/>assignNullValuesIfNoRecordsFound: false<br/>connector:<br/>  targetReference: Loop_List_LA_Account<br/>filterLogic: and<br/>filters:<br/>  field: Compte__c<br/>  operator: EqualTo<br/>  value:<br/>    elementReference: $Record.AccountId<br/>getFirstRecordOnly: false<br/>object: Logicielassocie__c<br/>sortField: Logiciel__c<br/>sortOrder: Asc<br/>storeOutputAutomatically: true<br/>"

Get_LA_Opp("🔍 <em>Get Records</em><br/>Get LA Opp"):::recordLookups
click Get_LA_Opp "#Get_LA_Opp" "name: Get_LA_Opp<br/>label: Get LA Opp<br/>assignNullValuesIfNoRecordsFound: false<br/>connector:<br/>  targetReference: Loop_list_LA_Opp<br/>filterLogic: and<br/>filters:<br/>  field: Opportunity__c<br/>  operator: EqualTo<br/>  value:<br/>    elementReference: $Record.Id<br/>getFirstRecordOnly: false<br/>object: Logicielassocie__c<br/>sortField: Logiciel__c<br/>sortOrder: Asc<br/>storeOutputAutomatically: true<br/>"

Get_Public_Groupe_Juriste("🔍 <em>Get Records</em><br/>Get Public Groupe Juriste"):::recordLookups
click Get_Public_Groupe_Juriste "#Get_Public_Groupe_Juriste" "name: Get_Public_Groupe_Juriste<br/>label: Get Public Groupe Juriste<br/>assignNullValuesIfNoRecordsFound: false<br/>connector:<br/>  targetReference: GetGroupMember<br/>filterLogic: and<br/>filters:<br/>  field: DeveloperName<br/>  operator: EqualTo<br/>  value:<br/>    stringValue: Juriste<br/>getFirstRecordOnly: true<br/>object: Group<br/>queriedFields: Id<br/>storeOutputAutomatically: true<br/>"

Get_user_email("🟧<b>🔍 <em>Get Records</em><br/>Get user email</b>"):::recordLookupsChanged

click Get_user_email "#Get_user_email" "name: Get_user_email<br/>label: Get user email<br/>assignNullValuesIfNoRecordsFound: false<br/>connector:<br/>  targetReference: Send_email_to_juriste_group<br/>filterLogic: and<br/>filters:<br/>  field: Id<br/>  operator: EqualTo<br/>  value:<br/>    elementReference: GetGroupMember.UserOrGroupId<br/>getFirstRecordOnly: true<br/>object: User<br/>queriedFields:<br/>  - Id<br/>  - Email<br/>storeOutputAutomatically: true<br/>"

click Get_user_email "#Get_user_email" "name: Get_user_email<br/>label: Get user email<br/>assignNullValuesIfNoRecordsFound: false<br/>connector:<br/>  targetReference: Send_email_to_juriste_group<br/>filterLogic: and<br/>filters:<br/>  - field: Id<br/>    operator: EqualTo<br/>    value:<br/>      elementReference: GetGroupMember.UserOrGroupId<br/>  - field: Alias<br/>    operator: NotEqualTo<br/>    value:<br/>      elementReference: CloudityDemo<br/>getFirstRecordOnly: true<br/>object: User<br/>queriedFields:<br/>  - Id<br/>  - Email<br/>storeOutputAutomatically: true<br/>"


GetGroupMember("🟧<b>🔍 <em>Get Records</em><br/>Get Group Member</b>"):::recordLookupsChanged

click GetGroupMember "#GetGroupMember" "name: GetGroupMember<br/>label: Get Group Member<br/>assignNullValuesIfNoRecordsFound: false<br/>connector:<br/>  targetReference: CreateOppteammember<br/>filterLogic: and<br/>filters:<br/>  field: GroupId<br/>  operator: EqualTo<br/>  value:<br/>    elementReference: Get_Public_Groupe_Juriste.Id<br/>getFirstRecordOnly: true<br/>object: GroupMember<br/>storeOutputAutomatically: true<br/>"

click GetGroupMember "#GetGroupMember" "name: GetGroupMember<br/>label: Get Group Member<br/>assignNullValuesIfNoRecordsFound: false<br/>connector:<br/>  targetReference: Get_user_email<br/>filterLogic: and<br/>filters:<br/>  field: GroupId<br/>  operator: EqualTo<br/>  value:<br/>    elementReference: Get_Public_Groupe_Juriste.Id<br/>getFirstRecordOnly: true<br/>object: GroupMember<br/>storeOutputAutomatically: true<br/>"


Update_Account_cloudity("🛠️ <em>Update Records</em><br/>Update Account"):::recordUpdates
click Update_Account_cloudity "#Update_Account_cloudity" "name: Update_Account_cloudity<br/>label: Update Account<br/>connector:<br/>  targetReference: Get_LA_linkto_Account<br/>filterLogic: and<br/>filters:<br/>  field: Id<br/>  operator: EqualTo<br/>  value:<br/>    elementReference: $Record.AccountId<br/>inputAssignments:<br/>  field: EntitiyCloudity__c<br/>  value:<br/>    stringValue: Client<br/>object: Account<br/>"


Update_Account_Reflex("🟥<i>🛠️ <em>Update Records</em><br/>Update Account</i>"):::recordUpdatesRemoved
click Update_Account_Reflex "#Update_Account_Reflex" "name: Update_Account_Reflex<br/>label: Update Account<br/>connector:<br/>  targetReference: Get_LA_linkto_Account<br/>filterLogic: and<br/>filters:<br/>  field: Id<br/>  operator: EqualTo<br/>  value:<br/>    elementReference: $Record.AccountId<br/>inputAssignments:<br/>  field: EntityReflex__c<br/>  value:<br/>    stringValue: Client<br/>object: Account<br/>"

Update_Account_Demo("🟩<b>🛠️ <em>Update Records</em><br/>Update Account Demo</b>"):::recordUpdatesAdded
click Update_Account_Demo "#Update_Account_Demo" "name: Update_Account_Demo<br/>label: Update Account Demo<br/>connector:<br/>  targetReference: Get_LA_linkto_Account<br/>inputAssignments:<br/>  field: BillingCity<br/>  value:<br/>    elementReference: CloudityDemo<br/>inputReference: $Record.Account<br/>"



Update_Account_Service("🟥<i>🛠️ <em>Update Records</em><br/>Update Account</i>"):::recordUpdatesRemoved
click Update_Account_Service "#Update_Account_Service" "name: Update_Account_Service<br/>label: Update Account<br/>connector:<br/>  targetReference: Get_LA_linkto_Account<br/>filterLogic: and<br/>filters:<br/>  field: Id<br/>  operator: EqualTo<br/>  value:<br/>    elementReference: $Record.AccountId<br/>inputAssignments:<br/>  field: EntityService__c<br/>  value:<br/>    stringValue: Client<br/>object: Account<br/>"


END(( END ))

Send_email_to_juriste_group --> END
Add_to_collection1 --> Check_if_logiciel_already_link_to_account
Add_to_logiciel_associ1 --> Add_to_collection1
Assign_LA_Account --> Loop_List_LA_Account
Assign_LA_Opp --> Loop_list_LA_Opp
Assignement_addtocollection_newlogiciel --> Loop_create_new_LA
Assignement_single_logiciel_associe --> Assignement_addtocollection_newlogiciel
Is_logiciel_already_link_to_account --> |Yes| Check_if_logiciel_already_link_to_account
Is_logiciel_already_link_to_account --> |Non| Add_to_logiciel_associ1
No_logiciel_link_to_Account --> |True| Loop_create_new_LA
No_logiciel_link_to_Account --> |False| Check_if_logiciel_already_link_to_account
SBU --> |Cloudity| Update_Account_cloudity

SBU -.-> |🟥<i>Reflex</i>| Update_Account_Reflex:::removedLink
SBU -.-> |🟥<i>Service</i>| Update_Account_Service:::removedLink

SBU ==> |🟩<b>Demo Visual Git Diff</b>| Update_Account_Demo:::addedLink

SBU --> |Customer| Get_LA_linkto_Account
StageName --> |Stage Fermée| SBU
StageName --> |Stage contracting| Get_Public_Groupe_Juriste
StageName --> |Default Outcome| END
Check_if_logiciel_already_link_to_account --> Is_logiciel_already_link_to_account
Check_if_logiciel_already_link_to_account ---> Create_new_logiciel_associ1
Loop_create_new_LA --> Assignement_single_logiciel_associe
Loop_create_new_LA ---> Create_new_logiciel_associ
Loop_List_LA_Account --> Assign_LA_Account
Loop_List_LA_Account ---> Get_LA_Opp
Loop_list_LA_Opp --> Assign_LA_Opp
Loop_list_LA_Opp ---> No_logiciel_link_to_Account
Create_new_logiciel_associ --> END
Create_new_logiciel_associ1 --> END

CreateOppteammember -.-> Get_user_email:::removedLink

Get_LA_linkto_Account --> Loop_List_LA_Account
Get_LA_Opp --> Loop_list_LA_Opp
Get_Public_Groupe_Juriste --> GetGroupMember
Get_user_email --> Send_email_to_juriste_group

GetGroupMember -.-> CreateOppteammember:::removedLink

GetGroupMember ==> Get_user_email:::addedLink

Update_Account_cloudity --> Get_LA_linkto_Account

Update_Account_Reflex -.-> Get_LA_linkto_Account:::removedLink
Update_Account_Service -.-> Get_LA_linkto_Account:::removedLink

Update_Account_Demo ==> Get_LA_linkto_Account:::addedLink

START(( START )) --> StageName


classDef actionCalls fill:#344568,color:white
classDef assignments fill:#F97924,color:white
classDef collectionProcessors fill:#DD7A00,color:white
classDef customErrors fill:#032D60,color:white
classDef decisions fill:#DD7A00,color:white
classDef loops fill:#E07D1C,color:undefined
classDef recordCreates fill:#F9548A,color:white
classDef recordDeletes fill:#F9548A,color:white
classDef recordLookups fill:#F9548A,color:white
classDef recordUpdates fill:#F9548A,color:white
classDef screens fill:#1B96FF,color:white
classDef subflows fill:#032D60,color:white


classDef actionCallsAdded fill:#344568,color:white,stroke:#00ff00,stroke-width:12px;
classDef assignmentsAdded fill:#F97924,color:white,stroke:#00ff00,stroke-width:12px;
classDef collectionProcessorsAdded fill:#DD7A00,color:white,stroke:#00ff00,stroke-width:12px;
classDef customErrorsAdded fill:#032D60,color:white,stroke:#00ff00,stroke-width:12px;
classDef decisionsAdded fill:#DD7A00,color:white,stroke:#00ff00,stroke-width:12px;
classDef loopsAdded fill:#E07D1C,color:undefined,stroke:#00ff00,stroke-width:12px;
classDef recordCreatesAdded fill:#F9548A,color:white,stroke:#00ff00,stroke-width:12px;
classDef recordDeletesAdded fill:#F9548A,color:white,stroke:#00ff00,stroke-width:12px;
classDef recordLookupsAdded fill:#F9548A,color:white,stroke:#00ff00,stroke-width:12px;
classDef recordUpdatesAdded fill:#F9548A,color:white,stroke:#00ff00,stroke-width:12px;
classDef screensAdded fill:#1B96FF,color:white,stroke:#00ff00,stroke-width:12px;
classDef subflowsAdded fill:#032D60,color:white,stroke:#00ff00,stroke-width:12px;
  
classDef actionCallsRemoved fill:#344568,color:white,stroke:#ff0000,stroke-width:12px;
classDef assignmentsRemoved fill:#F97924,color:white,stroke:#ff0000,stroke-width:12px;
classDef collectionProcessorsRemoved fill:#DD7A00,color:white,stroke:#ff0000,stroke-width:12px;
classDef customErrorsRemoved fill:#032D60,color:white,stroke:#ff0000,stroke-width:12px;
classDef decisionsRemoved fill:#DD7A00,color:white,stroke:#ff0000,stroke-width:12px;
classDef loopsRemoved fill:#E07D1C,color:undefined,stroke:#ff0000,stroke-width:12px;
classDef recordCreatesRemoved fill:#F9548A,color:white,stroke:#ff0000,stroke-width:12px;
classDef recordDeletesRemoved fill:#F9548A,color:white,stroke:#ff0000,stroke-width:12px;
classDef recordLookupsRemoved fill:#F9548A,color:white,stroke:#ff0000,stroke-width:12px;
classDef recordUpdatesRemoved fill:#F9548A,color:white,stroke:#ff0000,stroke-width:12px;
classDef screensRemoved fill:#1B96FF,color:white,stroke:#ff0000,stroke-width:12px;
classDef subflowsRemoved fill:#032D60,color:white,stroke:#ff0000,stroke-width:12px;

classDef actionCallsChanged fill:#344568,color:white,stroke:#edaa18,stroke-width:12px;
classDef assignmentsChanged fill:#F97924,color:white,stroke:#edaa18,stroke-width:12px;
classDef collectionProcessorsChanged fill:#DD7A00,color:white,stroke:#edaa18,stroke-width:12px;
classDef customErrorsChanged fill:#032D60,color:white,stroke:#edaa18,stroke-width:12px;
classDef decisionsChanged fill:#DD7A00,color:white,stroke:#edaa18,stroke-width:12px;
classDef loopsChanged fill:#E07D1C,color:undefined,stroke:#edaa18,stroke-width:12px;
classDef recordCreatesChanged fill:#F9548A,color:white,stroke:#edaa18,stroke-width:12px;
classDef recordDeletesChanged fill:#F9548A,color:white,stroke:#edaa18,stroke-width:12px;
classDef recordLookupsChanged fill:#F9548A,color:white,stroke:#edaa18,stroke-width:12px;
classDef recordUpdatesChanged fill:#F9548A,color:white,stroke:#edaa18,stroke-width:12px;
classDef screensChanged fill:#1B96FF,color:white,stroke:#edaa18,stroke-width:12px;
classDef subflowsChanged fill:#032D60,color:white,stroke:#edaa18,stroke-width:12px;

classDef addedLink stroke:#00ff00,stroke-width:3px;
classDef removedLink stroke:#ff0000,stroke-width:3px;

Loading

🟩Constants

Name DataType Value
🟩CloudityDemo String CloudityDemo
🟩TOTO String TOTO

More details

NODES CONTENT (expand to view)

SBU

name: SBU

label: SBU ?

defaultConnector:

  targetReference: Get_LA_linkto_Account

defaultConnectorLabel: Customer

rules:

  - name: Cloudity

    conditionLogic: and

    conditions:

      - leftValueReference: $Record.DAS__c

        operator: EqualTo

        rightValue:

          stringValue: SF

      - leftValueReference: $Record.Account.EntitiyCloudity__c

        operator: EqualTo

        rightValue:

          stringValue: Prospect

    connector: &ref_0

      targetReference: Update_Account_cloudity

    label: Cloudity

🟥  - name: Reflex

🟩  - name: DemoVisualGitDiff

    conditionLogic: and

    conditions:

🟥      - leftValueReference: $Record.DAS__c

🟥        operator: EqualTo

🟥        rightValue:

🟥          stringValue: SCS

🟥      - leftValueReference: $Record.Account.EntityReflex__c

🟥        operator: EqualTo

🟥        rightValue:

🟥          stringValue: Prospect

🟩      leftValueReference: $Record.DAS__c

🟩      operator: Contains

🟩      rightValue:

🟩        elementReference: TOTO

    connector: &ref_1

🟥      targetReference: Update_Account_Reflex

🟥    label: Reflex

🟥  - name: Service

🟥    conditionLogic: (1 OR 2) AND 3

🟥    conditions:

🟥      - leftValueReference: $Record.DAS__c

🟥        operator: NotEqualTo

🟥        rightValue:

🟥          stringValue: SF

🟥      - leftValueReference: $Record.DAS__c

🟥        operator: NotEqualTo

🟥        rightValue:

🟥          stringValue: SCS

🟥      - leftValueReference: $Record.Account.EntityService__c

🟥        operator: EqualTo

🟥        rightValue:

🟥          stringValue: Prospect

🟥    connector: &ref_2

🟥      targetReference: Update_Account_Service

🟥    label: Service

🟩      targetReference: Update_Account_Demo

🟩    label: Demo Visual Git Diff

rules2:

  - name: Cloudity

    label: Cloudity

    nextNode: *ref_0

    nextNodeLabel: Customer

🟥  - name: Reflex

🟥    label: Reflex

🟩  - name: DemoVisualGitDiff

🟩    label: Demo Visual Git Diff

    nextNode: *ref_1

    nextNodeLabel: Customer

🟥  - name: Service

🟥    label: Service

🟥    nextNode: *ref_2

🟥    nextNodeLabel: Customer

🟥CreateOppteammember

🟥name: CreateOppteammember

🟥label: Create Opp team member

🟥connector:

🟥  targetReference: Get_user_email

🟥inputAssignments:

🟥  - field: OpportunityAccessLevel

🟥    value:

🟥      stringValue: Edit

🟥  - field: OpportunityId

🟥    value:

🟥      elementReference: $Record.Id

🟥  - field: TeamMemberRole

🟥    value:

🟥      stringValue: Autre

🟥  - field: UserId

🟥    value:

🟥      elementReference: GetGroupMember.UserOrGroupId

🟥object: OpportunityTeamMember

🟥storeOutputAutomatically: true

Get_user_email

name: Get_user_email

label: Get user email

assignNullValuesIfNoRecordsFound: false

connector:

  targetReference: Send_email_to_juriste_group

filterLogic: and

filters:

🟥  field: Id

🟥  operator: EqualTo

🟥  value:

🟥    elementReference: GetGroupMember.UserOrGroupId

🟩  - field: Id

🟩    operator: EqualTo

🟩    value:

🟩      elementReference: GetGroupMember.UserOrGroupId

🟩  - field: Alias

🟩    operator: NotEqualTo

🟩    value:

🟩      elementReference: CloudityDemo

getFirstRecordOnly: true

object: User

queriedFields:

  - Id

  - Email

storeOutputAutomatically: true

GetGroupMember

name: GetGroupMember

label: Get Group Member

assignNullValuesIfNoRecordsFound: false

connector:

🟥  targetReference: CreateOppteammember

🟩  targetReference: Get_user_email

filterLogic: and

filters:

  field: GroupId

  operator: EqualTo

  value:

    elementReference: Get_Public_Groupe_Juriste.Id

getFirstRecordOnly: true

object: GroupMember

storeOutputAutomatically: true

🟥Update_Account_Reflex

🟩Update_Account_Demo

🟥name: Update_Account_Reflex

🟥label: Update Account

🟩name: Update_Account_Demo

🟩label: Update Account Demo

connector:

  targetReference: Get_LA_linkto_Account

🟥filterLogic: and

🟥filters:

🟥  field: Id

🟥  operator: EqualTo

🟥  value:

🟥    elementReference: $Record.AccountId

inputAssignments:

🟥  field: EntityReflex__c

🟩  field: BillingCity

  value:

🟥    stringValue: Client

🟥object: Account

🟩    elementReference: CloudityDemo

🟩inputReference: $Record.Account

🟥Update_Account_Service

🟥name: Update_Account_Service

🟥label: Update Account

🟥connector:

🟥  targetReference: Get_LA_linkto_Account

🟥filterLogic: and

🟥filters:

🟥  field: Id

🟥  operator: EqualTo

🟥  value:

🟥    elementReference: $Record.AccountId

🟥inputAssignments:

🟥  field: EntityService__c

🟥  value:

🟥    stringValue: Client

🟥object: Account


Documentation generated by sfdx-hardis, featuring salesforce-flow-visualiser

Powered by sfdx-hardis from job check_deploy_to_target_branch_org

@echoix
Copy link
Collaborator

echoix commented Dec 23, 2024

What was that big hardis comment on the PR. It's new?

@echoix echoix merged commit 3e5ec88 into main Dec 25, 2024
130 checks passed
@echoix echoix deleted the create-pull-request/patch branch December 25, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants