Skip to main content

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

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,ContentType/Name&$expand=ContentType

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

Regards

Philipp


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


Reply