cancel
Showing results for 
Search instead for 
Did you mean: 

Empty Incoming workflow message in HWC app for attachment

midhun_vp
Active Contributor
0 Kudos

Hi,

I am implementing attachment in my HWC application.

But once I execute the query (findbyprimarykey) it is returning null values hence from my Ipad it's throwing the error "Missing required parameter".

Given below is my WFClient log. In which the output fields are empty.

How to solve this issue?

As you said I checked the workflowclient and found that the keys are not filling once the query is executing;

20121101T121247.114|3|Purchase Orders:1 -- executing operation 'findByPrimaryKey' of type 'search' on mbo 'PO_Attach' in package 'Hybrid:1.0'

20121101T121247.114|3|Purchase Orders:1 -- using username and password value from device credential cache

20121101T121247.114|3|Purchase Orders:1 -- username: midhun

20121101T121247.114|3|Purchase Orders:1 -- password: [xxxxxxxx]

20121101T121247.114|4|Purchase Orders:1 -- Adding to header : PK_PONumber:4500000810

20121101T121247.115|4|Purchase Orders:1 -- processing value:

20121101T121247.115|4|Purchase Orders:1 -- value '' is [null]

20121101T121247.115|4|Purchase Orders:1 -- CallMMSViaMessageChannel->In

20121101T121247.115|4|Purchase Orders:1 -- JsonHeader: {"id":"a16c771760f343ee91e073132d77f916","cid":"1606#Purchase Orders:1","pv":"1","httpHeaders":"Host: r\nUser-Agent: WorkFlow/2.1.3.6319 CFNetwork/548.1.4 Darwin/11.0.0\r\nAccept: */*\r\nIas-Rs-Cookie: reset\r\nAccept-Language: en-us\r\nAccept-Encoding: gzip, deflate\r\nContent-Type: application/x-www-form-urlencoded\r\nConnection: keep-alive\r\nTransfer-Encoding: Chunked","pid":"moca://ab62b770509dab6840c0cc036f2d0e5f942d6e0a__HWC","ppm":"eyJ1c2VybmFtZSI6Im1pZGh1biIsInBhc3N3b3JkIjoibWlkaHVuQHN5c3RlY2g4OSIsIlBLX1BPTnVtYmVyIjoiNDUwMDAwMDgxMCJ9","method":"search","pbi":"true","upa":"bWlkaHVuOm1pZGh1bkBzeXN0ZWNoODk=","appId":"HWC","mbo":"PO_Attach","app":"Purchase Orders:1","pkg":"Hybrid:1.0"}

20121101T121247.115|4|Purchase Orders:1 -- JsonContent: {"searchId":101,"parameters":{"PO_NUMBER":null},"namedQuery":"findByPrimaryKey","buildGraph":true}

20121101T121249.490|4|Purchase Orders:1 -- ResponseHeader: {"id":"a16c771760f343ee91e073132d77f916","app":"Purchase Orders:1","pkg":"hybrid:1.0","pv":"2","method":"searchResult","mbo":"PO_Attach","cid":"1606#Purchase Orders:1","sig":"07aaacad4e344b2d81beff6ecc3f2448"}

20121101T121249.490|4|Purchase Orders:1 -- ResponseContent: {"searchId":101,"resultRows":[]}

20121101T121249.491|4|Purchase Orders:1 -- CallMMSViaMessageChannel->Out

20121101T121249.491|4|Purchase Orders:1 -- processing request result

20121101T121249.491|2|Purchase Orders:1 -- no search result

20121101T121249.491|4|Purchase Orders:1 -- processing field: PO_Attach_FILESIZE_attribKey

20121101T121249.491|4|Purchase Orders:1 -- processing field: PO_Attach_FILENAME_attribKey

20121101T121249.492|4|Purchase Orders:1 -- processing field: PO_Attach_MIMETYPE_attribKey

20121101T121249.492|4|Purchase Orders:1 -- processing field: PO_Attach_PO_NUMBER_attribKey

20121101T121249.492|4|Purchase Orders:1 -- processing field: PO_Attach_LINE_attribKey

20121101T121249.492|4|Purchase Orders:1 -- ExecuteRequest->Out

20121101T121249.492|4|Purchase Orders:1 -- Data(Out): <M><H></H><S>Purchase_Order_Details</S><A>_j7aqwCRGEeKXnuDue9W3sA</A><VS><V k="Purchase_Systech_PO_NUMBER_attribKey" t="T">4500000810</V><V k="_old.Purchase_Systech.PO_NUMBER" t="T">4500000810</V><V k="PO_Attach_FILESIZE_attribKey" t="T"></V><V k="PO_Attach_FILENAME_attribKey" t="T"></V><V k="PO_Attach_MIMETYPE_attribKey" t="T"></V><V k="PO_Attach_PO_NUMBER_attribKey" t="T"></V><V k="PO_Attach_LINE_attribKey" t="T"></V></VS></M>

20121101T121249.492|4|Purchase Orders:1 -- ProcessSyncRequest->Out

Can anyone help on this.

Thanks

Midhun


Accepted Solutions (1)

Accepted Solutions (1)

midhun_vp
Active Contributor
0 Kudos

Issue solved.

Solution:

I didn't pass input parameter , I was passing only the personalisation key as input.

After passing both the values as input the problem has been solved.

Thanks

Midhun

Answers (0)