on 03-13-2024 4:35 PM
Hello Experts,
Im trying to create a automatic trigger subscription in SAP DM.
Im trying to fetch the processing state of the machine via production connector. I created a production process to fetch the current data from the indicator tag value. But it is all possible via manual trigger via a POD Plugin.
Now, Im trying to create a automatic trigger, which triggers a POD message as soon as the processing state of the machine turns to error.
But I cant check why my automatic trigger is not working when the processing state changes to error.
Could anyone please help me out, where am I making the mistake here.
Thank you in advance for your help.
KR,
Sayuj.
Hi Sayuj ,
Do you see any entry against this production process in "Monitor Production Process" which covers the production process flow,
a. if yes, then trigger condition is passing right > do you see any specific error in Monitor Production process ?
b. if no, then trigger condition is not getting passed ? check the tag value of processing state ? is it "Error" ( case sensitive) or "0".
Thanks
rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
Thank you for your reply. No I cant see any entry in Monitor app. The trigger is not happening at all.
I checked the value it is "error". I checked it multiple times with the tag value but it doesnt trigger the condition.
Also I tried to manually start the production process and check the value in POD. It gives the same output - "error"
Tag Value.
Manual Output in POD.
KR,
Sayuj.
Hi Sayuj ,
Can you redeploy the indicator subscription with Quick deploy inside Automatic manage trigger and check again?
Also check if notification is getting generated correct in production connector, check the production connector app ( control center ) logs and see if any notification or error.
Thanks
Rahul
Hi Sayuj ,
From Error 2 it seems data conversion issue meaning the tag value returning a string value as "finished" and in expression its expecting tagvalue as boolean , check if there specific expression which you have maintained while in subscription in DM or for testing just model a boolean tag in Keepware and model an indicator in DM and subscribe to this tag and check if change in Boolean tag sends a notification to DM ,just a sanity check , if issue still presists open an incident for SAP standard support ?
Thanks
Rahul
Hi Rahul,
It was due to the JWT token. Once the new JWT token in BTP was created the error was solved and the connection was established properly.
Key rotation in BTP was the solution for this error.
KR,
Sayuj.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.