1. GoogleDetectLanguage Workitem Handler

Name | Display Name | Category | Description | Handler
--- | --- | --- | --- | ---
GoogleDetectLanguage | GoogleDetectLanguage | google-translate-workitem |  | mvel: new org.jbpm.process.workitem.google.translate.DetectLanguageWorkitemHandler("apiKey")

Parameters

Name | Type | Required
--- | --- | ---
ToDetectText | new StringDataType() | true

Results

Name | Type
--- | ---
DetectedLanguage | new StringDataType()

Maven Dependencies

Group | Artifact | Version
--- | --- | ---
org.jbpm.contrib | google-translate-workitem | 7.58.0.Final

Authentication Information

Auth Required | Params | Params Description | Reference Site
--- | --- | --- | ---
true | apiKey | Google cloud api key | https://cloud.google.com/translate/docs/quickstart

2. GoogleTranslate Workitem Handler

Name | Display Name | Category | Description | Handler
--- | --- | --- | --- | ---
GoogleTranslate | GoogleTranslate | google-translate-workitem |  | mvel: new org.jbpm.process.workitem.google.translate.TranslateWorkitemHandler("apiKey")

Parameters

Name | Type | Required
--- | --- | ---
TargetLang | new StringDataType() | true
ToTranslate | new StringDataType() | true
SourceLang | new StringDataType() | true

Results

Name | Type
--- | ---
Translation | new StringDataType()

Maven Dependencies

Group | Artifact | Version
--- | --- | ---
org.jbpm.contrib | google-translate-workitem | 7.58.0.Final

Authentication Information

Auth Required | Params | Params Description | Reference Site
--- | --- | --- | ---
true | apiKey | Google cloud api key | https://cloud.google.com/translate/docs/quickstart