cancel
Showing results for 
Search instead for 
Did you mean: 
jeroenwetzels
Nintex Newbie

How to publish a major version of a document with Nintex for Office 365

Jump to solution

I would like to publish a major version of a document via Nintex for Office 365 and therefore I use the following workflow:

function all.jpg

With this configuration:

function all.jpg

After running this workflow (the workflow is completed) are none of the documents in the library "Published as major version".

If I try to use a filter

check in items.jpg

the workflow will be suspended with the following error.

Untitled.jpg

Could anyone provide me an example how to publish certain documents via Nintex Workflow for Office 365.

0 Kudos
Reply
10 Replies
alexjolynintex
Nintex Newbie

Re: How to publish a major version of a document with Nintex for Office 365

Jump to solution

Hi Jeroen,

Is the document you try to checkin already exists in the destination folder, or do you also want to Copy it first?

If so, You should use the Copy Document action first. Then Check in this document using the "itesm to check in" parameter!

Kind regards

Alex

0 Kudos
Reply
jeroenwetzels
Nintex Newbie

Re: How to publish a major version of a document with Nintex for Office 365

Jump to solution

Hi Alex,

Thanks for the quick response!

The document exists already in the destination folder, so it's not necessary to copy it first.

I know that the function exists, but i can't get the function working...

Kind regards,

Jeroen

0 Kudos
Reply
alexjolynintex
Nintex Newbie

Re: How to publish a major version of a document with Nintex for Office 365

Jump to solution

Hi again,

I managed to reproduce your problem.
I reproduce it when I put the document Library URLNAME  (Shared%20Documents) instead of the Document Library NAME (Documents).
You have to put the NAME !

Hope it helps

Alex

0 Kudos
Reply
ongd
Nintex Newbie

Re: How to publish a major version of a document with Nintex for Office 365

Jump to solution

Hi Jeroen Wetzels‌,

The "Office 365 check in items" will only perform the operation on items which are in "checked out" state.

Therefore if you wish to publish major version, it will ignore items which are already "checked in".

However, you can to make sure they're checked out before you could perform "check in" as major version. Otherwise the "All items checked in" output will return "false" because the matched items did not meet the condition (of being checked out) to perform check in.

You can add the "Office 365 check out items" action prior to this, with the similar filters. Sample screenshot design below which suggests to only check in if all matched items (according to your filter) are checked out.

Screen Shot 2015-01-29 at 11.50.40 PM.png

From your screenshot, it seems that you're trying to filter for items where the "Approval Status" is set as "Draft". Can you try setting both filters like the screenshot below?

Screen Shot 2015-01-29 at 11.52.25 PM.png

View solution in original post

Reply
Not applicable

Re: How to publish a major version of a document with Nintex for Office 365

Jump to solution

Hello,

Altough I've tried different configurations also those who were described earlier in this post, I was not able yet to check-in/publish/approve an item in my list.

If I don't use a filter in my configurations (check-out/check-in), my items will be checked out but the wf will be suspended at the check-in step with the following message. The configuration of the check-out and check-in function are the same.

When I use a filter (I've tried different ones) I get the following messages:

Any advice is welcome

0 Kudos
Reply
ongd
Nintex Newbie

Re: How to publish a major version of a document with Nintex for Office 365

Jump to solution

Hi Jurgen Potoms

The error seems like you've specified a GUID in the column filter.

The expected value should be the column name / column internal name

eg: "Title" or "Approval Status" or "ID"

Can you share with us a screenshot of your action configuration?

0 Kudos
Reply
Not applicable

Re: How to publish a major version of a document with Nintex for Office 365

Jump to solution

Hi Danny Ong

Thank you for your response.

First of all I would like to indicate that it is the intention to publish and set the approval status for 1 item (the item where the WF is running on).

In fact your sequence as described above is working, however the problem is to filter the item in the library to do the action on.

The filter says "Update item when column" ? I'm looking for an item in my library ... , not a column that is equal to ...?

Maybe it's my interpretation, but I'm very new into Nintex!

0 Kudos
Reply
ongd
Nintex Newbie

Re: How to publish a major version of a document with Nintex for Office 365

Jump to solution

Hi Jurgen Potoms

The "Update the item when column" expects a column name.

Can you try it with this filter instead?

"Update the item when column": ID

"is equal to": {Current Item: ID}

ID equals current item ID.png

You could remove the first action used to set workflow variable "Get GUID" because that's not needed unless you're trying to perform the action on other items (not this workflow that you're running on).

Reply
ongd
Nintex Newbie

Re: How to publish a major version of a document with Nintex for Office 365

Jump to solution

Jurgen Potoms‌, Alternatively, you can also specify the filter as follows:

"Update the item when column": UniqueId

"is equal to": {Current Item: GUID}

0 Kudos
Reply