cancel
Showing results for 
Search instead for 
Did you mean: 

BUS20900 is not instanced when WF start with no trigg. event CRM7 WEB UI

felipe_uribe
Participant
0 Kudos

Hi everyone.

Weu2019re in CRM 7 with Case Management solution, I have created a workflow based on BOR BUS20900 (Case Management) and this WF was linked to an CRM Action in SPRO to be start it when the document CASE is saved.

The workflow doesnu2019t have any triggering event to be started, as I said, Itu2019s called directly from the Action in CRM-Case.

The main parameter in the Workflow container is ZCASE (BUS20900), {input, output], and It is a global parameter, even the Action in CRM was set using this BUS20900 to define a new Action of the CASE.

My problem is related with the WF parameter ZCASE because when the workflow is called from the CRM Action, this parameter from the Container in Workflow is not instanced with any value, instead of this, Workflow creates in a runtime mode, a new parameter (just seen in the workflow Log) called BUSINESSOBJECT with type SWC_VALUE, and WF populates this parameter with the unique key for the CASE like:

4D0D16FAD5A1004AE10080000A01DE20 BUS20900 BO

My question and my problem is that ZCASE is not being filled (instanced) with the value for the object BUS20900 and It should be natural!!.

How should I set the Action in CRM or the Workflow to have this parameter (ZCASE) with the value JUST WHEN WORKFLOW STARTS and no programming any assignation to this variable or doing any container operation.

I thing this assignation for the value to the parameter ZCASE when the workflow start, should be automatic when I define the action in CRM and the workflow with the same BO (BUS20900).

I hope being clear enough for you to understand my issue. Pls let me know if you need any extra explanation

Thanks a lot

Felipe

Accepted Solutions (0)

Answers (2)

Answers (2)

felipe_uribe
Participant
0 Kudos

Solved,

The main object has to be renamed as BusinessObject, that's it.

Thanks.

Former Member
0 Kudos

Hi Felipe,

Check the Export & Import parameters of the Workflow container ZCASE.

Is it a standard workflow? If it is the standard workflow and the container is already means there it should be populated automatically.

or if you created the ZCASE container and its not populated then it might be the Data type mismatch issue.

Find the BADI when the workflow is getting triggered and check for the Function module. Here you can do your customization and you can pass the data's to your workflow.

Thanks,

Viji.