Missing properties on activities compared with documentation

Hello,

I was using the “Get Email List” activity from MicrosoftOffice365.Activities and I noticed that I didn’t have some options that should exist per the documentation of the activity.
Here are the properties that I have :

When we look at the documentation Activities - Get Email List we can see that there are properties that are missing in my activity, such as “Return Body as HTML” :

There could be several reasons

  • I could have a different version (lower or higher) of the library.
  • Or there is an issue somewhere

The main problem I have, is that it is extremely complicated to determine if it’s a bug or if it’s intended.
I installed the latest version of the library, and on the documentation, we can see that the docuemntation was last updated very recently
image
We could then expect that the documentation is up to date with the last version but that is not the case.

Moreover, in the documentation, there is no way of choosing a version of the activity. So we are stuck wondering if the documentation is not up to date, or if we have a bug on our side.

My investigations, led me to the release notes : Activities - Release notes
And nothing is said about changing or removing some properties.
All I got from that is that “Get Email List” came with version v2.1.1 of the MicrosoftOffice365.Activities.

After trying the activity on this version (2.1.1), I was able to see the missing options.
But, I am still at a loss :

  • Is the change intended and they decided that some options were not useful ?
  • Is this a bug with the last version of the library ?
  • How to know if the documentation is up to date with the activity we have when :
    – There is no versioning on the documentation page
    – Having a “last updated” date that is newer than the version we are running does apparently not insure that the documentation is up to date with that version
    – The release notes seem to not document all the changes

As said, that is not the first time that it is happening, and often I am presented with less options than what documented, which led me to at least question if this is intended or not (why remove possibilities on newer version? and why undocumented?).

For this specific example, I am also wondering if this is really a feature or bug.
Do you have the same options as me or as per the documentation ?
With UiPath 2023.10
And MicrosoftOffice365.Activities on latest version to date, which is 2.4.3

@Van_Beers_Charles-Antoine

Looks like this is removed in the latest version of the package…the second acreenshot you shared is a studio web screenshot…if you open the studio web now and check you would not have that option there also…so that property might have been removed or might be missed in the latest release

But you can still get the body as html …just use the output of the get email list activity in a loop and use currentItem.BodyAsHTML

Or to check sayt he output variable is emllist…then emllist(0).BodyAsHTML will give the required email body as html

It would have been removed because it does not add any specific value as the html body can be retrieved anyways

But I do agree the document might sometimes be misleading.but it is a continuous process

Cheers

Hello Anil,

Thank you for your reply.
This is what I used (the .BodyAsHTML), but I wanted to make sure that this option didn’t affect the output of the method BodyAsHTML.

Thank you for the clarifications.