WELCOME TO THE COMMUNITY
find what you are looking for or ask a new question
Home > Forum > Latest posts

latest posts

MVP

Hi,

I don't really understand what you want to achieve.

- You get x invoices , number, vendor, date
- Each invoice has y lines, article, price quantity

Do you have one process with two item list, one for the invoice and one for the invoice lines or do you want to create one workflow instance for each invoice and populate an item list with the invoice lines?

Without knowing the whole use case, I would assume that the later would be better, for any kind of approval workflow or similar.

Even if I'm wrong and you want to populate two item lists in one workflow instance, I don't see the issue. I would:
- Retrieve all invoices
- Foreach invoice
-- Add a row to the first item list
-- Fetch the invoice lines
-- Add rows to the second item list with the invoice lines and add a column to store the the invoice number as a reference.


I created an SDK action some years ago to populate an item list from an XML file. Maybe this could be a good starting point for you.

Code:
https://github.com/Daniel-Krueger/webcon_xmlToItemList/blob/main/CC_XmlToItemList/XMLtoItemList.cs
Blog post
https://daniels-notes.de/posts/2021/custom-action-xml-to-item-list

Best regards,
Daniel

Hi,
I have a process that works with invoices. Each invoice contains a variable number of line items (name, price, VAT, etc.). Using an SDK, I’m retrieving these invoices from an API. Since the number of invoices and the number of line items per invoice can vary, how should I configure the SDK so that each line item is correctly mapped to a item list in the process? Is there a specific mapping method for handling a dynamic number of invoice items?

Thanks!

Hello,
while downloading emails, the following message appears:

Could not download attachments. Skipping e-mail: AU2601705
Microsoft.Exchange.WebServices.Data.ServiceVersionException: The property Mentions is valid only for Exchange Exchange2015 or later versions.

In the HotMailBox configuration, there's no option to specify a dedicated configuration for Exchange On-premises. There's only an option for MS Exchange 2013/2016/2019.
I use MS Exchange in version 2019

Hi Daniel,

What about this approach:

- First, identify all workflow instances where the affected users still have "open tasks".
- Then finish those tasks programmatically, e.g. via REST API:
Community post: “The finish all users tasks option” - https://community.webcon.com/posts/post/the-finish-all-users-tasks-option/24/3
REST endpoint: POST /api/data/v7.0/db/{dbId}/elements/{id}/admin/tasks/finishall
Docs: REST API – finish all tasks - https://developer.webcon.com/2026/resources/rest_api7.0/index.html#tag/PublicApiElements/paths/~1api~1data~1v7.0~1db~1%7BdbId%7D~1elements~1%7Bid%7D~1admin~1tasks~1finishall/post

-After that, if necessary, adjust permissions so that users only have Read access.

Best regards
Maryna