Question

Modify the URL in Message Section of Event Action

  • 22 September 2023
  • 5 replies
  • 115 views

Badge +1

Hi All,

I’m trying to modify the following URL in IFS cloud with the 4 event parameters (KEY01, KEY02, KEY03, KEY04). Here the DOC_CLASS is AAB, DOC_NO is 1461919, DOC_REV is A1 and DOC_SHEET is 1.

https://DOMAIN/main/ifsapplications/web/page/DocumentRevision/Form;$filter=keyref%20eq%20'DOC_CLASS%3DAAB%5EDOC_NO%3D1461919%5EDOC_REV%3DA1%5EDOC_SHEET%3D1%5E';path=0.1743295830.780940358;record=KERvY0NsYXNzPSdBQUInLERvY05vPScxNDYxOTE5JyxEb2NTaGVldD0nMScsRG9jUmV2PSdBMScp

Can you please let me know how to replace the event parameters to the above URL to be used in the Message section of the event action?


5 replies

Userlevel 7
Badge +30

What did you try and what happened?

Badge +1

Hi, 

I have tried with replacing the data values and got the KEY01, KEY02, etc. hard coded to the link generated.

Therefore, would replacing with &KEY01, .., &KEY04 work?

Thank you

Userlevel 7
Badge +30

Why not try and check the resulting URL?

Badge +1

Hi @Mathias Dahl ,

We have changed the URL with &KEY01, &KEY02, etc. But we still get an error.

DocumentRevision/Form (server error)
An internal server error occurred. Contact administrator.
Error details: [{"code":"SYNTAX","message":"The URI is malformed."}]

Could you please help us on this if you know why this happens?

Thank you

Userlevel 7
Badge +14

Here is an example how i concat a url in a sql action

'/main/ifsapplications/web/page/DocumentRevision/Form;$filter=DocClass%20eq%20''' || doc_class_ || '''%20and%20DocNo%20eq%20''' 
                            || doc_no_ || '''%20and%20DocSheet%20eq%20''' || doc_sheet_ || '''%20and%20DocRev%20eq%20''' || doc_rev_ ||'''"' ;.

Reply