Your Community is getting an upgrade!
Read about our partnership with Higher Logic and how we will build the next generation of the Instructure Community.
I'm new at canvas and wading through a lot of information.
As I am looking at our sis-imports, the past status logs we create on import, and the api for status, I am seeing a lot of missing import id numbers. I see that there is an abort_all_pending command. Is there a get_all_pending or list_all_pending or something similar? Or does anyone know of a way to find all of the pending sis-import job ids?
Thanks much!
For this type of technical question I'm going to share this with the https://community.canvaslms.com/groups/canvas-developers?sr=search&searchId=a0c88048-331e-473a-92c1-... group in the Community. They are the ones who do a lot of things like this and should be able to help!
Hi Karin --
There isn't a way to filter the results of the SIS imports list API call by workflow_state, but pending imports should appear at the top of the results (if there are any imports in the pending state). You should be able to read data from the SIS imports list call and stop when you get to an import with a workflow state that isn't 'pending'. Note that if there are a lot of pending imports (probably not a common occurrence), you may need to request multiple pages of results in order to fetch all of the pending imports.
Hope this helps!
--Colin
@kmay ,
We are giving the Canvas Admins area a little bit of love (especially questions that are really, really old) and just want to check in with you. This will also bring this question new attention.
Were you able to find an answer to your question? I am going to go ahead and mark this question as answered because there hasn't been any more activity in a while so I assume that you have the information that you need. If you still have a question about this or if you have information that you would like to share with the community, by all means, please do come back and leave a comment. Also, if this question has been answered by one of the previous replies, please feel free to mark that answer as correct.
Robbie
Yes, answered and all good.
Thanks,
karin
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign InTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign In
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.