@rhia , do you know someone who could help provide a solution to this?
Hey @cmikhaiel_e - I built a tracker once which I just saved as a UDA / Component Workflow that updated a list every time a Doc Gen was successfully run. In this particular client's case, they needed to build each department's individual customers for the Doc Gen usage, so it would also say for which project & what kind of document was generated.
That's my recommendation ... unsure of any other ways to track consumption unless there is a PowerShell method. @burked / @eharris04 ?
Thanks @rhia .
I'm wondering of the actual consumption - you know doc gen better - so what if the doc gen action failed mid way would that be actually counted in? How about if the workflow that is supposed to count the successful generation failed? I believe there won't be much of those, but just counting in for different possibilities.
We actually started a similar solution, I think that's what we might end up doing..
However, the business still prefers to have a centralized location that reflects what it is actually in the database (Doc gen actual usage) to avoid any numbers that might be off. I think at this point, we'll use that then unless we find a different way.
Thanks again @rhia , as always.. appreciated :)
@cmikhaiel_e and @rhia thanks for the thoughts. I've passed this along to the PM for consideration with showing the usage within the workflow manager view.
Another place you can check this is by logging into customer central https://customer.nintex.com/Usage/Pages/default.aspx and looking at the usage.
Its a start in the right direction to helping manage doc gens used.
Thanks @eharris04 for the valuable info.
I'm unable to access the customer portal at this time, since I've got a Partner account.
Do you know if there is a way in the customer portal to configure notifications to be sent to a certain group of people when the usage reaches a certain number? If that's available then I think they should be good.
Definitely a step in the right direction -- I think it'd be great to have this available in SharePoint itself.
The way I did it to ensure it was with successful runs only was to compare to the library and ensure there was a PDF / DOCX freshly created there before logging it.
If anyone is looking for a way to create Doc Gen usage alerts, consider creating a workflow in the site's "Workflow History" list. A new item is added to this list whenever a Doc Gen credit is used with a Description field value like the following: "Document Generation usage entitlement: x of xxxx consumed for the usage entitlement expiring on xx/xx/xxxx". You can set up the workflow to fire when items are created, with a start condition of Description > contains > "Document Generation usage", or something similar. You can go a step further by including additional start conditions so that it only allows alerts to be sent at specific usage intervals. Below is an example of start conditions that will allow the workflow to be triggered every 250 doc gen uses.
Beyond this, the workflow really only needs to contain a "Send an Email" action, with the body containing the item's Description field and the subject and recipients set as you see fit. If you need to know usage on demand, you can parse out the usage number and use that to update a list. There are obviously quite a few directions that you could take this.
Anyways, hope this helps someone out.