How to set requested for, Item and Request Item on SC task ?

raj99918
Tera Contributor

Hi,

 

I have a workflow set-up on the sc_request table for the form after submitting the form requested for, Item and Request Item on SC task are coming as empty only parent field is coming with REQ number now how can i set these three fields automatically (requested for, Item and Request Item on SC task )

 

Back end info for thes fields are:

 

Request for: sc_task.request_item.requested_for

Item: sc_task.request_item.cat_item

Request Item: sc_task.request_item

 

Thanks

3 REPLIES 3

Mark Manders
Mega Patron

Your sc_task is a direct child of the request?

What is your flow doing? Where is the req_item coming in? You will need to set those fields, but without knowing what you are doing, it's difficult to pinpoint to your issue. Since all of these fields are pointing to the req_item and you don't mention it, I guess something is going wrong there.

 

OOB: the Request is created by the user and can contain multiple items (requested items) and to resolve each of these items, one or more tasks can be created for the items.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Hi @Mark Manders 

 

yes my sc_task is child of request functionality of this flow is just to create a sc task under request but in this sc task these fields are coming as empty that I want to automatically set these fields after submiting the forms it gicing on Parent as Req number rest all are empty(Request field and Request item as well) Please let me know if youy need any other info.

 

Thanks

Mark Manders
Mega Patron

All of these fields:

Request for: sc_task.request_item.requested_for

Item: sc_task.request_item.cat_item

Request Item: sc_task.request_item

are related to the requested item. If you are creating sc_tasks under requests, you have no requested items, so those fields will be empty. If it's not there, you can't fill them. sc_task is (OOB) not used under requests, as I mentioned earlier. It doesn't make sense to use them like this, because the ritm needs to be between them. If you are customizing it, you will also need to customize the form (remove the fields you can't fill because of missing data).


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark