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

Using Content Type with Build String action

Jump to solution

I am using the Build String action to create a Title field for a document but I cant seem to be able to select the Content Type as an option in the list workflow. I do have that option in the Site Collection Reusable Workflow. Anyone knows why?

Site Collection Reusable Workflow:

2016-04-19_9-50-18.png

List Workflow:

2016-04-19_9-50-35.png

Labels: (1)
Reply
2 Replies
philipplucas
Automation Master
Automation Master

Re: Using Content Type with Build String action

Jump to solution

Interesting, especially that you can ask for the content type in the conditional start options, even if it is a list workflow...

However, you can use a REST query to get your content type name. Something like:

http://[WebURL]/_api/web/lists/getbytitle('[listname]')/items(ItemID)?$select=Id,ContentTypeId,Conte...

This works for me. But you will need some additional regex/xmlQuery to extract only the name.

Regards

Philipp

Reply
paul_crawford
Nintex Newbie

Re: Using Content Type with Build String action

Jump to solution

Hi Igor

What you can do is set a separate variable first as below

Capture.PNG

Then use this variable in your build string action to update the title field

Let me know how you get on

Regards

Paul

View solution in original post

Reply