'GetItem.FileIdSelectionMode' is obsolete: 'Replaced by EDriveItemMode'

Hi all!

I need some help with this issue, I have created a library which was working and suddenly after adding a new workflow I cannot publish it due to the error:

The assembly compilation returned the following errors:

  • Duplicate ‘A24445403::System.Activities.RequiredArgumentAttribute’ attribute
  • ‘GetItem.FileIdSelectionMode’ is obsolete: ‘Replaced by EDriveItemMode’
  • ‘EDriveMode’ is obsolete: ‘Replaced by EDriveItemMode’
  • ‘GetItem.FileIdSelectionMode’ is obsolete: ‘Replaced by EDriveItemMode’
  • ‘EDriveMode’ is obsolete: ‘Replaced by EDriveItemMode’

This errors comes after successfully compiled all the workflows from the project. Also, the Workflow Analyzer doesn´t find any error. The error is still present trying to publish with or without the checkbok Include Sources and publishing directly into the OC or to a local folder.

Does anyone know how could I troubleshoot this? Thanks in advance!

@arielsantillan96

Looks like you copied a workflow

And are you using office365?

The errors seems to be because of variable type and dependency conflicts

Cheers

Hi @Anil_G , thanks for your reply.

Yes I´m using office365. Just tried to delete my new workflow and recreate it from scratch but still fails without copying anything.

Is there an “easy” way to see which conflicts are going on?

@arielsantillan96

Did you happen to upgrade the packages?

If so you need to delete all variables related to office 365 and create again…for newer versions and older there is a alight difference between types…then end names might be same but thw namespaces are different

Cheers

Hi! Sorry for my late reply. I have not upgraded the packages. I´m using an old package of O365 due to I´m using an old version of Studio as well.

The strange thing is that 1 month ago I was able to publish a package so not sure what has changed now

@arielsantillan96

Just try recreating the variables

Cheers