-
RE: Acumtica Integration
Hi Scott, Edward, Jeff,
I believe you can integrate with Acumatica's REST API using the Workflow Web Service activity in DocuWare. Based on my research, Acumatica provides OpenAPI 3.0 (Swagger) definitions, which can be imported into the DocuWare Workflow Designer to simplify integration. Additionally, Acumatica offers a range of REST API Examples that demonstrate various operations. For instance, to retrieve a list of accounts you can use the following GET request:
GET https://<your-acumatica-instance.com>/entity/Default/24.200.001/Account?$filter=AccountGroup%20eq%20'ACCG02'&$select=AccountCD
Authorization should be possible using OAuth2 Token via DocuWare Web Service configurations, see Authorization Code Flow: Obtaining of an Access Token and ID Token
I hope this helps!
Viele Grüße
Gerardo Lisanti
Team Leader Product Management | DocuWare GmbH -
RE: einen Wert in einem Stichwortfeld bei vielen Dokumenten ändern
Hallo Herr Gaedke,
ich habe nochmals nachgesehen und die beiden Ausdrücke Except() und Union() sind bereits seit DocuWare Version 7.9 verfügbar!
7.9:- Contains()
- Concat()
- Distinct()
- Except()
- Intersect()
- Order()
- OrderDescending()
- Union()
7.12:- AllStartsWith()
- AllEndsWith()
- AllContainsText()
- AnyStartsWith()
- AnyEndsWith()
- AnyContainsText()
- FirstOrDefault()
- LastOrDefault()
- DefaultIfEmpty()
- Distinct()
- ConvertFromBase64String()
- ConvertToBase64String()
- ConvertFromUrlString()
- ConvertToUrlString()
Alle Workflow Ausdrücke finden Sie in der Workflow Expression Parser Dokumentation
Viele Grüße
Gerardo Lisanti
Team Leader Product Management | DocuWare GmbH -
RE: Form format (Table field and
Hi Joann and Juan,
unfortunately table fields are currently not supported in merge forms. If you like you can vote for this extension in our customer feedback forum:
Provide a way to store table values from eforms and/or workflow on to merge forms – DocuWare Customer Feedback Forum
Best Regards
Gerardo Lisanti
Team Leader Product Management | DocuWare GmbH -
RE: Filter Task
Hi Diego,
at the top of each column of the task list, you should be able to set filters. When you hover with the mouse over the column header you should see the filter icon. After clicking on this icon, you can define the filter.
Best Regards
Gerardo Lisanti
Team Leader Product Management | DocuWare GmbH
-
RE: einen Wert in einem Stichwortfeld bei vielen Dokumenten ändern
Hallo Herr Gaedke,
mit der aktuellen DocuWare-Version 7.12 können Sie dieses Szenario über einen zeitgesteuerten Workflow abbilden.
In den Auslösebedingungen definieren Sie das fehlerhafte Stichwort mithilfe des Operators „enthält“, z. B.: "KEYWORD" enthält "DokuWare"
Im Workflow selbst konfigurieren Sie anschließend eine „Daten zuweisen“ Aktivität, um das fehlerhafte Stichwort durch das korrekte zu ersetzen. Verwenden Sie hierfür folgenden arithmetischen Ausdruck:
(DW_KEYWORD.Except("DokuWare")).Union("DocuWare")
DW_KEYWORD
ist das betroffene StichwortfeldExcept("DokuWare")
liefert die Liste aller aktuellen Werte und entfernt dabei den fehlerhaften Wert, im Beispiel: "DokuWare"Union("DocuWare")
ergänzt die Liste um das neue, korrekte Stichwort, im Beispiel: "DocuWare"
Das Ergebnis ist eine bereinigtes Liste, in der alle ursprünglichen Werte - ohne das fehlerhafte, aber inklusive des neuen, korrekten Stichworts - zurückgeschrieben werden. Achten Sie darauf, dass der Haken bei „Ersetzen“ gesetzt ist, damit die Werte korrekt aktualisiert werden.
Hinweis: Der Workflow verarbeitet pro Ausführung maximal 100 Dokumente.
Viele Grüße
Gerardo Lisanti
Team Leader Product Management | DocuWare GmbH -
RE: Error trying to compare a GV with an inde field from another FC in Workflow
Hi Miguel,
you have to provide the SQL WHERE clause in SQL Syntax.
So the correct syntax for a query using the LIKE operator is:
DW_NOMBRE LIKE '%GV_Empresa%'
See also: LIKE (Transact-SQL) - SQL Server | Microsoft Learn
Viele Grüße / With best regards,
Gerardo Lisanti -
RE: Error trying to compare a GV with an inde field from another FC in Workflow
Hi Miguel,
The field DW_NOMBRE is probably a text field. Therefore, its value should be enclosed in single quotation marks, like this:
DW_NOMBRE = 'GV_Empresa'
Viele Grüße / With best regards,
Gerardo Lisanti -
RE: Variable für den nächsten Gültigen Wochentag
Hallo Gregor,
ich denke du kannst das mit einem verschachteltenIIf()
Ausdruck lösen, in dem du den Wochentag des Eingabe Datums prüfstWeekday()
und entsprechend die Tage bis zum nächstmöglichen Datum addierst.
Der Ausdruck um herauszufinden wie viele Tage du addieren musst (AnzahlTage) ist:
IIf(Weekday(DW_DUE_DATE) = 1, 5, IIf(Weekday(DW_DUE_DATE) = 2, 4, IIf(Weekday(DW_DUE_DATE) = 3, 3, IIf(Weekday(DW_DUE_DATE) = 4, 6, IIf(Weekday(DW_DUE_DATE) = 5, 5, IIf(Weekday(DW_DUE_DATE) = 6, 4, IIf(Weekday(DW_DUE_DATE) = 7, 3, 0)))))))
Erklärung:
IIf(Weekday(DW_DATUM) = 1, 5, //1 Sonntag - 5 Tage addieren > nächster Freitag
IIf(Weekday(DW_DATUM) = 2, 4, //2 Montag - 4 addieren > nächster Freitag
IIf(Weekday(DW_DATUM) = 3, 3, //3 Dienstag - 3 Tage addieren > nächster Freitag
IIf(Weekday(DW_DATUM) = 4, 6, //4 Mittwoch - 6 Tage addieren > nächster Dienstag
IIf(Weekday(DW_DATUM) = 5, 5, //5 Donnerstag - 5 Tage addieren > nächster Dienstag
IIf(Weekday(DW_DATUM) = 6, 4, //6 Freitag - 4 Tage addieren > nächster Dienstag
IIf(Weekday(DW_DATUM) = 7, 3, 0))))))) //7 Samstag - 3 Tage addieren > nächster Dienstag
Anschließend berechnest du das neue Datum mit.AddDays()
:
DW_DATUM.AddDays(AnzahlTage)
Somit kannst du eine Variable erstellen die von einem Datum aus, den nächsten Tag errechnet der ein Dienstag oder Freitag ist UND mindestens 3 Tage entfernt ist.
Der zusammengefügter Ausdruck (herausfinden und addieren) sollte so aussehen:
DW_DATUM.AddDays(IIf(Weekday(DW_DATUM) = 1, 5, IIf(Weekday(DW_DATUM) = 2, 4, IIf(Weekday(DW_DATUM) = 3, 3, IIf(Weekday(DW_DATUM) = 4, 6, IIf(Weekday(DW_DATUM) = 5, 5, IIf(Weekday(DW_DATUM) = 6, 4, IIf(Weekday(DW_DATUM) = 7, 3, 0))))))))
Viele Grüße / With best regards,
--
Gerardo Lisanti
Team Leader Product Management | DocuWare GmbH -
RE: Create URL to docuement via Workflow
Hi Michael,
yes, the workflow offers a system variable called Document URLWF_DOC_URL
. This variable returns the URL to the document in the workflow, which looks like this:
https://any.docuware.cloud/DocuWare/Platform/WebClient/a80557d9-6870-4702-af8a-406e863e8dbd/Integration?p=V&fc=ae156510-ffa8-48b1-a3ec-baec3180669c&did=1629
The URL is structured as follows:
https://<Organization Domain>
/DocuWare/Platform/WebClient/<Organization GUID>
/Integration?p=V&fc=<File Cabinet GUID>
&did=<Document ID>
Alternatively you can also create URLs "manually" by using hard-coded parts and variables in a workflow (arithmetic) expression:- Organization Domain
WF_ORG_DOMAIN
, - Organization GUID,
WF_ORG_GUID
, - File Cabinet GUID
WF_FC_GUID
and - Document ID
DW_DOCID
Find more information about URL Integrations here: URL Integration | DocuWare SDK Documentation
Viele Grüße / With best regards,
Gerardo Lisanti
Team Leader Product Management | DocuWare GmbH - Organization Domain
-
RE: Can we use Workflow Clipping with Docuware API
Hi Thomas,
yes it is possible. Select the endpoint:
PUT /FileCabinets/{TrayId/FileCabinetId}/ Operations/ProcessDocumentAction?docId={DocId}
Then in the HTTP Body use following body:{ "DocumentAction": "Append", "DocumentActionParameters": { "$type": "AppendActionParameters", "RemoveSourceDocuments": false, "DocumentsInFront": [], "DocumentsAtBack": [ { "SourceCabinetId": "ae156510-ffa8-48b1-a3ec-baec3180669c", "Documents": [ 123456 ] } ] } }
This will append (clip) the document with ID123456
from file cabinetae156510-ffa8-48b1-a3ec-baec3180669c
, to the target document document, specified in the URL (route and query).
If you want to append the document before the target document, move the information from the"DocumentsAtBack"
to the"DocumentsInFront"
parameter. To append multiple documents, specify the DocIDs delimited by a comma, e.g.:123456,123457
You'll find this information also in our Knowledge Center (docuware.com)
Viele Grüße / With best regards,
--
Gerardo Lisanti
Team Leader Product Management | DocuWare GmbH