cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Companion and using the new Condition capability - Validation Failure on SuccessFactors

Andrew86
Participant
0 Kudos
402

Hello, I have been attempting to use the SAP Companion Condition setting but have struggled when it comes to setting a condition where for example a field is a dropdown choice list.

For example, in Successfactor we attempt to change an employee's job information, we edit their Job Information and based on specified event reason i.e. 'Location Change' I wish a Help Tile to appear to aid the next steps.

However, on setting value is Location Change (JOBLOCAT) or value contains Location the Validation Error always appears with Condition Failed

The only valid condition is when I set value is empty.

Is there something I am doing wrong, does some setting have be set in the SAP Companion Configuration parameters within SuccessFactors?

The parameters at this moment are:
noHelpMode=carousel;newWindowSAML=true;editor=true;useConditions=true;allowMLTranslations=true;globalLanguageFallback=en-US;mixedLanguage=true

Any suggestions would be greatly appreciated.

thanks, Andrew

Accepted Solutions (0)

Answers (2)

Answers (2)

Andrew86
Participant

Hello Dirk et al,
By testing with MS Edge and Google Chrome, i found the Zoom Ratio of the Browser was crucial and by setting it to 200% I was able to pick up the element i needed for setting a condition. Hovering the mouse over the field until you found the element was the best way, a key indicator i found was when it indicated "Language-Dependent". This then makes you have to consider the Condition and what bearing language will have.

DirkManuel
Active Contributor
0 Kudos

Cool! My suggestion was really an untried Hail Mary, but I'm glad it panned out!

DirkManuel
Active Contributor
0 Kudos

I think you are not selecting the actual field object. Remember that a lot of screen fields are built using multiple levels of nested objects - move the cursor around a bit and make sure you are selecting an Input element. I tried it and had to select an inner object not the 'full' field:

This then worked perfectly:

Andrew86
Participant
0 Kudos

Thanks Dirk, I have struggled to get the inner element as although i can get to the element highlighted by the blue arrow (data-held-id), I cannot get to the inner element highlighted by the red arrow. I am using Microsoft Edge.
Are there any tricks to the trade that may help me in this issue?

DirkManuel
Active Contributor
0 Kudos

Unfortunately I don't know how to force it to choose the inner object. Someone on the technical (xray) side of SAP may have a better idea, but this is SuccessFactors and they are always 'a little bit different'...

DirkManuel
Active Contributor
0 Kudos

I see that the DIV you point to has a data-help-id, but the INPUT field does not. The data-help-id is the 'Excellent' identifier SAP Enable Now looks for as the best think to use. That may be why it is trying to use the DIV? That said, the INPUT field should still be selectable, even if it only gives a 'good' or even 'weak' match... Try zooming in on the screen and seeing if there's any wiggle room.

Andrew86
Participant
0 Kudos

Thanks for your support Dirk, it is really hit and miss and at times a bit of a battle to get to the right element using the Zoom function. May i ask Dirk what Browser you are using and likewise in your print screen you show the element information below the display. Did you use a browser extension or was it something the browser was capable of doing?

DirkManuel
Active Contributor
0 Kudos

I'm using Chrome. To get the element information just press i on your keyboard when you are assigning the hotspot.