Skip to content

Instantly share code, notes, and snippets.

View nvuillam's full-sized avatar
🌏
Open to public talks about MegaLinter or any open-source project :)

Nicolas Vuillamy nvuillam

🌏
Open to public talks about MegaLinter or any open-source project :)
View GitHub Profile
flowchart TB
START(["START<br/><b>AutoLaunched Flow</b></br>Type: <b> Record After Save</b>"]):::startClass
click START "#general-information" "425955946"
Send_email_to_juriste_group("📧 <em></em><br/>Send email to juriste group"):::actionCalls
click Send_email_to_juriste_group "#send_email_to_juriste_group" "2263618651"
Add_to_collection1("🟰 <em></em><br/>Add to collection"):::assignments
click Add_to_collection1 "#add_to_collection1" "2109680176"
flowchart TB
START(( START )):::startClass
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/> assignToRefe
flowchart TB
START(( START )):::startClass
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/> assignToRefe
@nvuillam
nvuillam / .json
Last active January 2, 2022 02:18
BadWords filters object config template
[
{
"query": "SELECT all FROM Lead",
"operation": "Readonly",
"targetRecordsFilter": "core:DetectBadwords",
"filterRecordsAddons": [
{
"module": "core:RecordsFilter",
"args": {
"filterType": "BadWords",
@nvuillam
nvuillam / gist:66dbf0aa9855eb6eb5ce3fd8b76b047d
Created May 28, 2020 19:07
Call npm-groovy-lint via command line with json output
npm-groovy-lint --path "path/to/my/files" --output json --failonerror
npm-groovy-lint --path "path/to/my/files" --output "/tmp/ReportTestCodenarc.xml" --failonerror
npm-groovy-lint -basedir="path/to/my/files" -files="**/*.groovy,**/Jenkinsfile,**/*.gradle" -title="MyCodeNarcReport" -maxPriority1Violations=0 -report=xml:"/tmp/ReportTestCodenarc.xml"
java -classpath "lib/CodeNarc-1.5.jar:%GROOVY_HOME%/groovy-3.0.3.jar:%GROOVY_HOME%/groovy-templates-3.0.3.jar:%GROOVY_HOME%/groovy-xml-3.0.3.jar:%GROOVY_HOME%/groovy-json-3.0.3.jar:lib/slf4j-api-1.7.9.jar:lib/log4j-slf4j-impl-2.13.0.jar:lib/log4j-api-2.13.0.jar:lib/log4j-core-2.13.0.jar:lib/GMetrics-0.7.jar:lib/*" org.codenarc.CodeNarc -basedir="path/to/my/files" -files="**/*.groovy,**/Jenkinsfile,**/*.gradle" -title="MyCodeNarcReport" -maxPriority1Violations=0 -report=xml:"/tmp/ReportTestCodenarc.xml"
java -classpath "lib/CodeNarc-1.5.jar:%GROOVY_HOME%/groovy-3.0.3.jar:%GROOVY_HOME%/groovy-templates-3.0.3.jar:%GROOVY_HOME%/groovy-xml-3.0.3.jar:%GROOVY_HOME%/groovy-json-3.0.3.jar:lib/slf4j-api-1.7.9.jar:lib/log4j-slf4j-impl-2.13.0.jar:lib/log4j-api-2.13.0.jar:lib/log4j-core-2.13.0.jar:lib/GMetrics-0.7.jar:lib/*" org.codenarc.CodeNarc -basedir="path/to/my/files" -files="**/*.groovy,**/Jenkinsfile,**/*.gradle" -title="MyCodeNarcReport" -maxPriority1Violations=0 -report=xml:"/tmp/ReportTestCodenarc.xml"
java -classpath "lib/CodeNarc-1.5.jar:%GROOVY_HOME%/groovy-3.0.3.jar:%GROOVY_HOME%/groovy-templates-3.0.3.jar:%GROOVY_HOME%/groovy-xml-3.0.3.jar:%GROOVY_HOME%/groovy-json-3.0.3.jar:lib/slf4j-api-1.7.9.jar:lib/log4j-slf4j-impl-2.13.0.jar:lib/log4j-api-2.13.0.jar:lib/log4j-core-2.13.0.jar:lib/GMetrics-0.7.jar:lib/*" org.codenarc.CodeNarc -basedir="path/to/my/files" -files="**/*.groovy,**/Jenkinsfile,**/*.gradle" -title="MyCodeNarcReport" -maxPriority1Violations=0 -report=xml:"/tmp/ReportTestCodenarc.xml"